浏览代码

HUE-6576 [editor] Closing the result search does not remove the yellow highlighting

Enrico Berti 8 年之前
父节点
当前提交
224f069
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      desktop/core/src/desktop/static/desktop/js/jquery.huedatatable.js

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

@@ -149,6 +149,8 @@
           search.hide();
           var $t = self.$table;
           if ($t.data('scrollToRow') != null) {
+            $t.data('scrollToCol', null);
+            $t.data('scrollToRow', null);
             $t.find('.columnSelected').removeClass('columnSelected');
           }
         });