Przeglądaj źródła

[metastore] Focus on the overview tab on setTable

Enrico Berti 10 lat temu
rodzic
commit
46f7331

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