Explorar o código

[metastore] Focus on the overview tab on setTable

Enrico Berti %!s(int64=10) %!d(string=hai) anos
pai
achega
46f7331
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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');
     }