瀏覽代碼

HUE-4682 [editor] Scroll to a col, reexec the query, the greyed column is still there

Enrico Berti 9 年之前
父節點
當前提交
955280d
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

+ 2 - 0
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -3375,6 +3375,8 @@ ${ hueIcons.symbols() }
 
       $(document).on("executeStarted", function (e, snippet) {
         var _el = $("#snippet_" + snippet.id()).find(".resultTable");
+        _el.data('scrollToCol', null);
+        _el.data('scrollToRow', null);
         $("#snippet_" + snippet.id()).find(".progress-snippet").animate({
           height: "3px"
         }, 100);