瀏覽代碼

HUE-5956 [core] Hide hive chooser on click when skipTables is specified

Enrico Berti 8 年之前
父節點
當前提交
50f951a5a2
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      desktop/core/src/desktop/static/desktop/js/jquery.hiveautocomplete.js

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

@@ -358,6 +358,7 @@
             if ($(this).html().indexOf("database") > -1) {
               if (self.options.skipTables) {
                 $el.val(item);
+                $("#jHueGenericAutocomplete").hide();
               }
               else {
                 $el.val(item + ".");