Ver código fonte

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

Enrico Berti 8 anos atrás
pai
commit
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);
     });
   };