From 7b2d40bff697735c470e4b24bdeea2cddcb876db Mon Sep 17 00:00:00 2001 From: luigser Date: Thu, 24 Sep 2015 20:07:27 +0200 Subject: [PATCH] Selection controllet update --- controllets/data-sevc-controllet/data-sevc-controllet.html | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/controllets/data-sevc-controllet/data-sevc-controllet.html b/controllets/data-sevc-controllet/data-sevc-controllet.html index 9104b10..5f788e5 100755 --- a/controllets/data-sevc-controllet/data-sevc-controllet.html +++ b/controllets/data-sevc-controllet/data-sevc-controllet.html @@ -588,6 +588,11 @@ });*/ }, + detached : function(){ + $(this.$.fields_placeholder).mCustomScrollbar("destroy"); + $(".field-mapping-card").mCustomScrollbar("destroy"); + }, + /** * Callback to parse the data requested when dataUrl change its value * @@ -665,10 +670,12 @@ case 1: this.$.toolbar_title.innerHTML = "Data fields selection"; this.$.toolbar_description.innerHTML = "Select the fields you want to visualize"; + $(this.$.fields_placeholder).mCustomScrollbar("update"); break; case 2: this.$.toolbar_title.innerHTML = "Data mapping"; 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"; + $(".field-mapping-card").mCustomScrollbar("update"); break; case 3: this.$.toolbar_title.innerHTML = "Finish"; -- libgit2 0.21.4