mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Bug #4135: Remove the settings button when the tab is disabled
(cherry picked from commit 13cd7c7989ecada3428fea7c6c646ccdefc7bb81)
This commit is contained in:
parent
4e51084c19
commit
7da6a2cb69
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user