PHP8
[Pman.BAdmin] / Pman.Dialog.BAdminForgotPassword.js
index 910625e..594b4f4 100644 (file)
@@ -16,7 +16,7 @@ Roo.apply(Pman.Dialog.BAdminForgotPassword.prototype, {
  _named_strings : {
   'ok_html' : '10ac3d04253ef7e1ddc73e6091c0cd55' /* Next */ ,
   'ForgetPassword_value' : 'c4ca4238a0b923820dcc509a6f75849b' /* 1 */ ,
-  'username_fieldLabel' : '6832ac593617c3e5f61c82a20b0d9a3a' /* Enter your email address */ 
+  'passwordRequest_fieldLabel' : '6832ac593617c3e5f61c82a20b0d9a3a' /* Enter your email address */ 
  },
 
  dialog : false,
@@ -44,6 +44,7 @@ Roo.apply(Pman.Dialog.BAdminForgotPassword.prototype, {
   var _this = this;
   this.dialog = Roo.factory({
     xtype : 'Modal',
+    allow_close : false,
     animate : true,
     buttonPosition : 'center',
     cls : 'enable-overflow roo-bootstrap-dialog',
@@ -96,7 +97,7 @@ Roo.apply(Pman.Dialog.BAdminForgotPassword.prototype, {
            actioncomplete : function (_self, action) {
             
                 if (action.type == 'setdata') {
-                    
+                    this.findField('passwordRequest').setValue(_this.data.email);
                     _this.form.clearInvalid();
                     
                     return;
@@ -157,7 +158,7 @@ Roo.apply(Pman.Dialog.BAdminForgotPassword.prototype, {
                 allowBlank : false,
                 fieldLabel : _this._strings['6832ac593617c3e5f61c82a20b0d9a3a'] /* Enter your email address */,
                 indicatorpos : 'right',
-                name : 'username',
+                name : 'passwordRequest',
                 listeners : {
                  specialkey : function (_self, e)
                   {