BUG 6505 "Users with the "PM_USERS" permission..." Solved!

- completing validations
- ADMIN->Users now enabled for PM_USERS permission
This commit is contained in:
Erik Amaru Ortiz
2011-08-09 17:07:51 -04:00
parent 7a152675f8
commit 51250622a1
3 changed files with 15 additions and 3 deletions

View File

@@ -422,10 +422,9 @@ Ext.onReady(function(){
});
//TABS PANEL
tabsPanel = new Ext.TabPanel({
tabsPanelConfig = {
region: 'center',
activeTab: USERS.CURRENT_TAB,
items:[SummaryPanel,GroupsPanel,AuthenticationPanel],
listeners:{
beforetabchange: function(p,t,c){
switch(t.title){
@@ -470,7 +469,15 @@ Ext.onReady(function(){
}
}
}
});
}
tabsPanelConfig.items = new Array();
tabsPanelConfig.items.push(SummaryPanel);
tabsPanelConfig.items.push(GroupsPanel);
if (typeof hasAuthPerm != 'undefined' && hasAuthPerm) {
tabsPanelConfig.items.push(AuthenticationPanel);
}
tabsPanel = new Ext.TabPanel(tabsPanelConfig);
//LOAD ALL PANELS
viewport = new Ext.Viewport({