diff --git a/controllets/data-sevc-controllet/data-sevc-controllet.html b/controllets/data-sevc-controllet/data-sevc-controllet.html index 2206bcd..6ab3c81 100755 --- a/controllets/data-sevc-controllet/data-sevc-controllet.html +++ b/controllets/data-sevc-controllet/data-sevc-controllet.html @@ -1,17 +1,13 @@ - - - - - + @@ -23,20 +19,20 @@ - + - + @@ -119,7 +115,6 @@ if(this.selectedDatalet){ this.modify = true; this.$.slider.selected = 1; -// console.log(this.selectedDatalet); this.dataUrl = this.dataletPreset["data-url"]; } ln["localization"] = this.localization; @@ -143,15 +138,18 @@ slider.chevronLeft(true); } slider.chevronRight(false); - this.$.tree_view_multi_table.ready(); - this._allowThirdStep({detail: {fields: tree_view_multi_table.getFlatFields()}}); + this.$.select_data.ready(); +// this.async(function () {this.dataletPreset["filters"] = undefined;}, 1000); + this._allowThirdStep({detail: {fields: select_data.getFlatFields()}}); + this._allowThirdStep({detail: {fields: select_data.getFlatFields()}}); break; case 2: slider.setTitle(ln["slide3Title_" + this.localization], ln["slide3Subtitle_" + this.localization]); slider.chevronLeft(true); slider.chevronRight("invisible"); - this.$.datalet_selection.setFields(tree_view_multi_table.getFlatFields()); - this.$.datalet_selection.ready(); + this.$.select_visualization.setFields(select_data.getFlatFields()); + this.$.select_visualization.setFilters(select_data.getFilters()); + this.$.select_visualization.ready(); } }, @@ -165,16 +163,16 @@ // this.dataUrl = e.detail.url // this.jsonData = JSON.stringify(data); slider.chevronRight(true); - dataset_selection.$.selected_url.invalid = false; + select_dataset.$.selected_url.invalid = false; }, error: function(){ // this.jsonData = undefined; slider.chevronRight(false); - dataset_selection.$.selected_url.invalid = true; + select_dataset.$.selected_url.invalid = true; } }); - this.$.datalet_selection.reset(); + this.$.select_visualization.reset(); }, _allowThirdStep : function(e){ @@ -182,6 +180,8 @@ slider.chevronRight(true); else slider.chevronRight(false); + + //this.$.select_visualization.reset(); } });