Explorar o código

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

Enrico Berti %!s(int64=8) %!d(string=hai) anos
pai
achega
e7e3ad4

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