소스 검색

HUE-4866 [editor] Avoid showing column list on re-execute

Enrico Berti 9 년 전
부모
커밋
31fca1c

+ 1 - 0
desktop/core/src/desktop/static/desktop/js/jquery.huedatatable.js

@@ -476,6 +476,7 @@
     self.fnDestroy = function () {
       self.fnClearTable();
       self.$table.unwrap();
+      self.$table.data('isScrollAttached', null);
       self.$table.removeClass('table-huedatatable');
     };
 

+ 0 - 3
desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

@@ -675,9 +675,6 @@ var EditorViewModel = (function() {
     });
 
     self.hasDataForChart.subscribe(function(newValue) {
-      if (!newValue) {
-        self.isResultSettingsVisible(true);
-      }
       self.chartX.notifySubscribers();
       self.chartX.valueHasMutated();
     });