FBI-2044: Need static id for "New" user button
This commit is contained in:
committed by
Paula Quispe
parent
8699650919
commit
01f854a03b
@@ -1,7 +1,5 @@
|
|||||||
/*
|
|
||||||
* @author: Qennix
|
|
||||||
* Jan 24th, 2011
|
|
||||||
*/
|
|
||||||
|
|
||||||
//Keyboard Events
|
//Keyboard Events
|
||||||
new Ext.KeyMap(document, [
|
new Ext.KeyMap(document, [
|
||||||
@@ -65,59 +63,59 @@ Ext.onReady(function(){
|
|||||||
pageSize = parseInt(CONFIG.pageSize);
|
pageSize = parseInt(CONFIG.pageSize);
|
||||||
|
|
||||||
newButton = new Ext.Action({
|
newButton = new Ext.Action({
|
||||||
text: _('ID_NEW'),
|
text: _('ID_NEW'),
|
||||||
iconCls: 'button_menu_ext ss_sprite ss_add',
|
iconCls: 'button_menu_ext ss_sprite ss_add',
|
||||||
handler: NewUserAction
|
id: 'usersBtnNew',
|
||||||
|
handler: NewUserAction
|
||||||
});
|
});
|
||||||
|
|
||||||
summaryButton = new Ext.Action({
|
summaryButton = new Ext.Action({
|
||||||
text: _('ID_SUMMARY'),
|
text: _('ID_SUMMARY'),
|
||||||
iconCls: 'button_menu_ext ss_sprite ss_table',
|
id: 'usersBtnSummary',
|
||||||
handler: SummaryTabOpen,
|
iconCls: 'button_menu_ext ss_sprite ss_table',
|
||||||
disabled: true
|
handler: SummaryTabOpen,
|
||||||
|
disabled: true
|
||||||
});
|
});
|
||||||
|
|
||||||
editButton = new Ext.Action({
|
editButton = new Ext.Action({
|
||||||
text: _('ID_EDIT'),
|
text: _('ID_EDIT'),
|
||||||
iconCls: 'button_menu_ext ss_sprite ss_pencil',
|
id: 'usersBtnEdit',
|
||||||
handler: EditUserAction,
|
iconCls: 'button_menu_ext ss_sprite ss_pencil',
|
||||||
disabled: true
|
handler: EditUserAction,
|
||||||
|
disabled: true
|
||||||
});
|
});
|
||||||
|
|
||||||
changeStatusButton = new Ext.Button({
|
changeStatusButton = new Ext.Button({
|
||||||
text: _('ID_STATUS'),
|
text: _('ID_STATUS'),
|
||||||
icon: '',
|
id: 'usersBtnStatus',
|
||||||
iconCls: 'silk-add',
|
icon: '',
|
||||||
handler: changeStatusCheck,
|
iconCls: 'silk-add',
|
||||||
disabled: true
|
handler: changeStatusCheck,
|
||||||
|
disabled: true
|
||||||
});
|
});
|
||||||
|
|
||||||
deleteButton = new Ext.Action({
|
deleteButton = new Ext.Action({
|
||||||
text: _('ID_DELETE'),
|
text: _('ID_DELETE'),
|
||||||
iconCls: 'button_menu_ext ss_sprite ss_delete',
|
id: 'usersBtnDelete',
|
||||||
handler: DeleteUserAction,
|
iconCls: 'button_menu_ext ss_sprite ss_delete',
|
||||||
disabled: true
|
handler: DeleteUserAction,
|
||||||
|
disabled: true
|
||||||
});
|
});
|
||||||
|
|
||||||
groupsButton = new Ext.Action({
|
groupsButton = new Ext.Action({
|
||||||
text: _('ID_GROUPS'),
|
text: _('ID_GROUPS'),
|
||||||
iconCls: 'button_menu_ext ss_sprite ss_group_add',
|
id: 'usersBtnGroups',
|
||||||
handler: UsersGroupPage,
|
iconCls: 'button_menu_ext ss_sprite ss_group_add',
|
||||||
disabled: true
|
handler: UsersGroupPage,
|
||||||
|
disabled: true
|
||||||
});
|
});
|
||||||
|
|
||||||
// reassignButton = new Ext.Action({
|
|
||||||
// text: _('ID_REASSIGN_CASES'),
|
|
||||||
// iconCls: 'button_menu_ext ss_sprite ss_arrow_rotate_clockwise',
|
|
||||||
// handler: DoNothing,
|
|
||||||
// disabled: true
|
|
||||||
// });
|
|
||||||
|
|
||||||
authenticationButton = new Ext.Action({
|
authenticationButton = new Ext.Action({
|
||||||
text: _('ID_AUTHENTICATION'),
|
text: _('ID_AUTHENTICATION'),
|
||||||
iconCls: 'button_menu_ext ss_sprite ss_key',
|
id: 'usersBtnAuthentication',
|
||||||
handler: AuthUserPage,
|
iconCls: 'button_menu_ext ss_sprite ss_key',
|
||||||
disabled: true
|
handler: AuthUserPage,
|
||||||
|
disabled: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user