'role_fieldLabel' : '8a25a3ae30ab6e8ceb5b8c4009a3336f' /* Role / Position */ ,
'name_fieldLabel' : '49ee3087348e8d44e1feda1917443987' /* Name */ ,
'office_id_name_emptyText' : 'be5f40c0d2692cf4e9f8be8d389737a5' /* Department / Office */ ,
+ 'passwd2_fieldLabel' : '315fce99b77b7f392bf68d5eb14f88c7' /* Password (type again to confirm) */ ,
'phone_fieldLabel' : 'bcc254b55c4a1babdf1dcb82c207506b' /* Phone */ ,
- 'passwd1_fieldLabel' : '315fce99b77b7f392bf68d5eb14f88c7' /* Password (type again to confirm) */ ,
+ 'passwd1_fieldLabel' : '3544848f820b9d94a3f3871a382cf138' /* New password */ ,
'office_id_name_fieldLabel' : 'be5f40c0d2692cf4e9f8be8d389737a5' /* Department / Office */ ,
'office_id_name_loadingText' : '1243daf593fa297e07ab03bf06d925af' /* Searching... */ ,
'email_fieldLabel' : 'ce8ae9da5b7cd6c3df2929543a9af92d' /* Email */ ,
click : function (_self, e)
{
// do some checks?
- if (this.form.findField('passwd1')) {
+ if (_this.form.findField('passwd1')) {
- var p1 = this.form.findField('passwd1').getValue();
- var p2 = this.form.findField('passwd2').getValue();
+ var p1 = _this.form.findField('passwd1').getValue();
+ var p2 = _this.form.findField('passwd2').getValue();
- if (this.sendAfterSave && !p1.length) {
- Ext.MessageBox.alert("Error", "You must create a password to send introduction mail");
+ if (_this.sendAfterSave && !p1.length) {
+ Roo.MessageBox.alert("Error", "You must create a password to send introduction mail");
return;
}
if (Pman.Login.authUser.id < 0 && !p1.length) {
- Ext.MessageBox.alert("Error", "You must create a password for the admin account");
+ Roo.MessageBox.alert("Error", "You must create a password for the admin account");
return;
}
if (p1.length || p2.length) {
if (p1 != p2) {
- Ext.MessageBox.alert("Error", "Passwords do not match");
+ Roo.MessageBox.alert("Error", "Passwords do not match");
return;
}
}
allowBlank : true,
fieldLabel : _this._strings['315fce99b77b7f392bf68d5eb14f88c7'] /* Password (type again to confirm) */,
inputType : 'password',
- name : 'passwd1',
+ name : 'passwd2',
width : 150,
xns : Roo.form,
'|xns' : 'Roo.form'