فهرست منبع

[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');
     }