瀏覽代碼

HUE-6493 [editor] After saving query result to file, query editor page still shows the save dialog

Enrico Berti 8 年之前
父節點
當前提交
868ab2d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      desktop/core/src/desktop/templates/common_notebook_ko_components.mako

+ 1 - 0
desktop/core/src/desktop/templates/common_notebook_ko_components.mako

@@ -366,6 +366,7 @@ except ImportError, e:
               if (IS_HUE_4) {
                 $(".modal-backdrop").remove();
                 if (self.saveTarget() == 'hdfs-file' || (self.saveTarget() == 'search-index' && typeof resp.rowcount !== 'undefined')) {
+                  $("#saveResultsModal").hide();
                   huePubSub.publish('open.link', resp.watch_url);
                 } else {
                   if (resp.history_uuid) {