Commit 7b2d40bff697735c470e4b24bdeea2cddcb876db
1 parent
fa1f0522
Selection controllet update
Showing
1 changed file
with
7 additions
and
0 deletions
controllets/data-sevc-controllet/data-sevc-controllet.html
... | ... | @@ -588,6 +588,11 @@ |
588 | 588 | });*/ |
589 | 589 | }, |
590 | 590 | |
591 | + detached : function(){ | |
592 | + $(this.$.fields_placeholder).mCustomScrollbar("destroy"); | |
593 | + $(".field-mapping-card").mCustomScrollbar("destroy"); | |
594 | + }, | |
595 | + | |
591 | 596 | /** |
592 | 597 | * Callback to parse the data requested when dataUrl change its value |
593 | 598 | * |
... | ... | @@ -665,10 +670,12 @@ |
665 | 670 | case 1: |
666 | 671 | this.$.toolbar_title.innerHTML = "Data fields selection"; |
667 | 672 | this.$.toolbar_description.innerHTML = "Select the fields you want to visualize"; |
673 | + $(this.$.fields_placeholder).mCustomScrollbar("update"); | |
668 | 674 | break; |
669 | 675 | case 2: |
670 | 676 | this.$.toolbar_title.innerHTML = "Data mapping"; |
671 | 677 | this.$.toolbar_description.innerHTML = "Select the visualization from the slider, drag and drop the selected fields in visualization parameter area, customize the visualization if you need"; |
678 | + $(".field-mapping-card").mCustomScrollbar("update"); | |
672 | 679 | break; |
673 | 680 | case 3: |
674 | 681 | this.$.toolbar_title.innerHTML = "Finish"; |
... | ... |