Bug #4135: Remove the settings button when the tab is disabled

This commit is contained in:
Carlos Martín committed 2015-11-05 16:01:44 +01:00
1 parent 9ac387cc7d
commit 13cd7c7989
1 file changed
+4
+4
View File
@@ -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({