Commit 1c44cfb8116576d0bec69c6bb3f52c033f696391
1 parent
aa94c0a6
datalet selection bug fix
Showing
1 changed file
with
9 additions
and
3 deletions
controllets/datalet-selection-controllet/datalet-selection-controllet.html
@@ -560,11 +560,17 @@ | @@ -560,11 +560,17 @@ | ||
560 | ComponentService.deep_url = this.deepUrl; | 560 | ComponentService.deep_url = this.deepUrl; |
561 | ComponentService.getComponent(dataletParams); | 561 | ComponentService.getComponent(dataletParams); |
562 | 562 | ||
563 | + console.log(this.params); | ||
564 | + | ||
563 | //300??? | 565 | //300??? |
564 | - if(this.$.datalet_selection_datalet_placeholder.children[1]) | ||
565 | - this.async(function(){this.$.datalet_selection_datalet_placeholder.children[1].behavior.setParameters(this.params)}, 300); | ||
566 | - this.async(function(){this.$.add_button.removeAttribute("disabled");}, 300); | ||
567 | 566 | ||
567 | + this.async(function(){ | ||
568 | + if(this.$.datalet_selection_datalet_placeholder.children[1]) | ||
569 | + this.$.datalet_selection_datalet_placeholder.children[1].behavior.setParameters(this.params); | ||
570 | + this.$.add_button.removeAttribute("disabled"); | ||
571 | + }, 300); | ||
572 | + | ||
573 | +// this.async(function(){this.$.add_button.removeAttribute("disabled");}, 300); | ||
568 | // this.$.add_button.removeAttribute("disabled"); | 574 | // this.$.add_button.removeAttribute("disabled"); |
569 | }, | 575 | }, |
570 | 576 |