소스 검색

HUE-7176 [metastore] Open in metastore from Assist does not select the first tab in Hue 3

Enrico Berti 8 년 전
부모
커밋
e7e3ad4
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      apps/metastore/src/metastore/static/metastore/js/metastore.model.js

+ 3 - 1
apps/metastore/src/metastore/static/metastore/js/metastore.model.js

@@ -201,7 +201,9 @@ var MetastoreDatabase = (function () {
       callback();
     }
     hueUtils.waitForRendered('a[href="#overview"]', function(el){ return el.is(':visible') }, function(){
-      $('a[href="#overview"]').click();
+      window.setTimeout(function(){
+        $('a[href="#overview"]').click();
+      }, 0);
     });
   };