mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 11:52:37 +09:00
Bug #4135: Remove the settings button when the tab is disabled
This commit is contained in:
1 parent
9ac387cc7d
commit
13cd7c7989
1 file changed
+4
@@ -135,6 +135,10 @@ define(function(require) {
|
||||
|
||||
$(".user-zone-info").html(user_login_content);
|
||||
|
||||
if (!Config.isTabEnabled(SETTINGS_TAB_ID)){
|
||||
$(".user-zone-info a.configuration").parent('li').remove();
|
||||
}
|
||||
|
||||
function zoneRefresh() {
|
||||
// Populate Zones dropdown
|
||||
OpenNebula.Zone.list({
|
||||
|
||||
Reference in new issue
Block a user