Pārlūkot izejas kodu

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

Enrico Berti 9 gadi atpakaļ
vecāks
revīzija
955280df23

+ 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);