Pman.Dialog.BAdminPasswordReset.js
"|actionfailed" : "function (_self, action) {\n\n Roo.log('action fail?');\n Roo.log(action);\n \n _this.dialog.el.select('.modal-content', true).first().unmask();\n \n var err = 'Fill in all the required fields';\n \n if (typeof(action) != 'undefined' && action.failureType == 'server') {\n err = action.result.errorMsg;\n }\n \n Roo.bootstrap.MessageBox.alert('Error', err);\n}",
"|actioncomplete" : "function (_self, action) {\n\n if (action.type == 'setdata') {\n \n var pathname = window.location.pathname.split('PasswordReset/');\n \n if(typeof(pathname[1]) == 'undefined'){\n return;\n }\n \n var data = pathname[1].split('/');\n \n if(data.length != 3){\n _this.dialog.hide();\n Roo.bootstrap.MessageBox.alert('Sorry', 'Account reset link is not correct - please try again or paste the link correctly');\n return;\n }\n \n _this.form.findField('id').setValue(data[0]);\n _this.form.findField('ts').setValue(data[1]);\n _this.form.findField('key').setValue(data[2]);\n \n _this.form.clearInvalid();\n \n _this.form.verifyCheckSum();\n \n return;\n }\n if (action.type == 'load') {\n \n return;\n }\n if (action.type =='submit') {\n \n _this.dialog.hide();\n \n if (_this.callback) {\n _this.callback.call(_this, action.result);\n }\n \n _this.form.reset();\n \n return;\n \n }\n}"
},
- "$ url" : "baseURL + '/Login",
+ "$ url" : "baseURL + '/Login'",
"labelAlign" : "top",
"xtype" : "Form",
"method" : "POST",
loadMask : false,
method : 'POST',
style : 'padding: 10px;',
- url : baseURL + '/Login,
+ url : baseURL + '/Login',
verifyCheckSum : function()
{
_this.dialog.hide();