Fix tabs handling in the old layout. These shims are temporary.
This commit is contained in:
parent
560cdeb931
commit
75e32ad700
6 changed files with 27 additions and 6 deletions
|
@ -171,7 +171,10 @@ angular.module('quay').factory('UIService', ['$timeout', '$rootScope', '$locatio
|
|||
return;
|
||||
}
|
||||
|
||||
uiService.clickElement(this);
|
||||
var elem = this;
|
||||
setTimeout(function() {
|
||||
uiService.clickElement(elem);
|
||||
}, 0);
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -181,7 +184,10 @@ angular.module('quay').factory('UIService', ['$timeout', '$rootScope', '$locatio
|
|||
$timeout(function() {
|
||||
element.find('a[data-toggle="tab"]').each(function(index) {
|
||||
if (index == 0) {
|
||||
uiService.clickElement(this);
|
||||
var elem = this;
|
||||
setTimeout(function() {
|
||||
uiService.clickElement(elem);
|
||||
}, 0);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Reference in a new issue