{ "name" : "Pman.Dialog.BAdminForgotPassword", "parent" : "", "title" : "", "path" : "/home/alan/gitlive/Pman.BAdmin/Pman.Dialog.BAdminForgotPassword.bjs", "permname" : "", "modOrder" : "001", "strings" : { "6832ac593617c3e5f61c82a20b0d9a3a" : "Enter your email address", "62dd7b9a2b2efd33b8074f88f8356d12" : "Management account recovery", "10ac3d04253ef7e1ddc73e6091c0cd55" : "Next", "c4ca4238a0b923820dcc509a6f75849b" : "1" }, "named_strings" : { "ok_html" : "10ac3d04253ef7e1ddc73e6091c0cd55", "ForgetPassword_value" : "c4ca4238a0b923820dcc509a6f75849b", "passwordRequest_fieldLabel" : "6832ac593617c3e5f61c82a20b0d9a3a" }, "items" : [ { "listeners" : { "show" : "function (_self)\n{\n _this.dialog.el.select('.modal-content', true).first().unmask();\n}" }, "String cls" : "enable-overflow roo-bootstrap-dialog", "Boolean animate" : true, "Boolean allow_close" : false, "title" : "Management account recovery", "xtype" : "Modal", "buttonPosition" : "center", "$ xns" : "Roo.bootstrap", "items" : [ { "listeners" : { "click" : "function (_self, e)\n{\n _this.dialog.el.select('.modal-content', true).first().mask('Sending...');\n _this.form.doAction('submit');\n}" }, "String weight" : "primary", "xtype" : "Button", "$ xns" : "Roo.bootstrap", "String html" : "Next", "* prop" : "buttons[]", "string name" : "ok" }, { "xtype" : "Row", "$ xns" : "Roo.bootstrap", "items" : [ { "xtype" : "Container", "cls" : "col-md-12", "$ xns" : "Roo.bootstrap", "items" : [ { "listeners" : { "|render" : "function (_self) {\n _this.form = _self;\n}", "|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 this.findField('passwordRequest').setValue(_this.data.email);\n _this.form.clearInvalid();\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'", "labelAlign" : "top", "xtype" : "Form", "method" : "POST", "$ xns" : "Roo.bootstrap", "Boolean loadMask" : false, "String style" : "padding: 10px;", "items" : [ { "xtype" : "Row", "$ xns" : "Roo.bootstrap", "items" : [ { "xtype" : "Column", "Number xs" : 12, "$ xns" : "Roo.bootstrap", "items" : [ { "listeners" : { "specialkey" : "function (_self, e)\n{\n if(e.getKey() == 13){\n _this.dialog.el.select('.modal-content', true).first().mask('Sending...');\n _this.form.doAction('submit');\n }\n}" }, "Boolean allowBlank" : false, "String name" : "passwordRequest", "xtype" : "Input", "string fieldLabel" : "Enter your email address", "$ xns" : "Roo.bootstrap", "String indicatorpos" : "right" } ] } ] }, { "String name" : "ForgetPassword", "xtype" : "Input", "String inputType" : "hidden", "$ xns" : "Roo.bootstrap", "string value" : 1 } ] } ] } ] } ] } ] }