瀏覽代碼

[metastore] Focus on the overview tab on setTable

Enrico Berti 10 年之前
父節點
當前提交
46f7331
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      apps/metastore/src/metastore/templates/describe_table.mako

+ 3 - 0
apps/metastore/src/metastore/templates/describe_table.mako

@@ -734,6 +734,9 @@ ${ assist.assistPanel() }
       if (! metastoreTable.loaded()) {
         metastoreTable.load();
       }
+      window.setTimeout(function () {
+        $('a[href="#overview"]').click();
+      }, 200);
       huePubSub.publish('metastore.url.change');
     }