소스 검색

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