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,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 | * Callback to parse the data requested when dataUrl change its value | 597 | * Callback to parse the data requested when dataUrl change its value |
| 593 | * | 598 | * |
| @@ -665,10 +670,12 @@ | @@ -665,10 +670,12 @@ | ||
| 665 | case 1: | 670 | case 1: |
| 666 | this.$.toolbar_title.innerHTML = "Data fields selection"; | 671 | this.$.toolbar_title.innerHTML = "Data fields selection"; |
| 667 | this.$.toolbar_description.innerHTML = "Select the fields you want to visualize"; | 672 | this.$.toolbar_description.innerHTML = "Select the fields you want to visualize"; |
| 673 | + $(this.$.fields_placeholder).mCustomScrollbar("update"); | ||
| 668 | break; | 674 | break; |
| 669 | case 2: | 675 | case 2: |
| 670 | this.$.toolbar_title.innerHTML = "Data mapping"; | 676 | this.$.toolbar_title.innerHTML = "Data mapping"; |
| 671 | 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"; | 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 | break; | 679 | break; |
| 673 | case 3: | 680 | case 3: |
| 674 | this.$.toolbar_title.innerHTML = "Finish"; | 681 | this.$.toolbar_title.innerHTML = "Finish"; |