mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
Do not show labels tree if the tab is not active
This commit is contained in:
parent
08e345b380
commit
a9e8e21e8d
@ -503,8 +503,10 @@ define(function(require) {
|
||||
|
||||
if (that.labelsColumn && !SunstoneConfig.isTabEnabled("provision-tab")) {
|
||||
if (SunstoneConfig.isTabEnabled(that.tabId)) {
|
||||
LabelsUtils.insertLabelsMenu({'tabName': that.tabId});
|
||||
LabelsUtils.insertLabelsDropdown(that.tabId);
|
||||
if ($("#" + that.tabId).is(':visible')) {
|
||||
LabelsUtils.insertLabelsMenu({'tabName': that.tabId});
|
||||
LabelsUtils.insertLabelsDropdown(that.tabId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user