Fix little bug with display error message when change the users role

This commit is contained in:
Julio Cesar Laura
2012-12-04 13:31:21 -04:00
parent 4f42240c09
commit 3bf840f07e

View File

@@ -1046,7 +1046,7 @@ function saveUser()
if (USR_UID == '00000000000000000000000000000001') {
if (Ext.getCmp('USR_ROLE').getValue() != 'PROCESSMAKER_ADMIN') {
Ext.Msg.alert( _('ID_ERROR'), _('ID_ADMINISTRATOR_ROLE_CANT_CHANGED');
Ext.Msg.alert( _('ID_ERROR'), _('ID_ADMINISTRATOR_ROLE_CANT_CHANGED'));
return false;
}
}