Pman.Dialog.BAdminPasswordReset.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 7 Dec 2018 02:53:01 +0000 (10:53 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Dec 2018 02:53:01 +0000 (10:53 +0800)
Pman.Dialog.BAdminPasswordReset.js

Pman.Dialog.BAdminPasswordReset.bjs
Pman.Dialog.BAdminPasswordReset.js

index 82f133b..166a1fb 100644 (file)
@@ -8,6 +8,7 @@
  "strings" : {
   "acd43bedab51b6704bf10d9ac136a032" : "Reset management password",
   "10ac3d04253ef7e1ddc73e6091c0cd55" : "Next",
+  "ea4788705e6873b424c65e91c2846b19" : "Cancel",
   "bbddd6ba0948d79e55486e615a265b56" : "Enter your new password",
   "c4ca4238a0b923820dcc509a6f75849b" : "1",
   "6d70a993714d2699e1d30e03d2753850" : "Please enter again to confirm"
@@ -15,6 +16,7 @@
  "named_strings" : {
   "ResetPassword_value" : "c4ca4238a0b923820dcc509a6f75849b",
   "ok_html" : "10ac3d04253ef7e1ddc73e6091c0cd55",
+  "cancel_html" : "ea4788705e6873b424c65e91c2846b19",
   "password2_fieldLabel" : "6d70a993714d2699e1d30e03d2753850",
   "password1_fieldLabel" : "bbddd6ba0948d79e55486e615a265b56"
  },
    "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" : "default",
+     "xtype" : "Button",
+     "$ xns" : "Roo.bootstrap",
+     "String html" : "Cancel",
+     "* prop" : "buttons[]",
+     "string name" : "cancel"
+    },
     {
      "listeners" : {
       "click" : "function (_self, e)\n{\n    _this.dialog.el.select('.modal-content', true).first().mask('Sending...');\n    _this.form.doAction('submit');\n}"
index 8e83c51..5182558 100644 (file)
@@ -10,6 +10,7 @@ Roo.apply(Pman.Dialog.BAdminPasswordReset.prototype, {
  _strings : {
   'acd43bedab51b6704bf10d9ac136a032' :"Reset management password",
   '10ac3d04253ef7e1ddc73e6091c0cd55' :"Next",
+  'ea4788705e6873b424c65e91c2846b19' :"Cancel",
   'bbddd6ba0948d79e55486e615a265b56' :"Enter your new password",
   'c4ca4238a0b923820dcc509a6f75849b' :"1",
   '6d70a993714d2699e1d30e03d2753850' :"Please enter again to confirm"
@@ -17,6 +18,7 @@ Roo.apply(Pman.Dialog.BAdminPasswordReset.prototype, {
  _named_strings : {
   'ResetPassword_value' : 'c4ca4238a0b923820dcc509a6f75849b' /* 1 */ ,
   'ok_html' : '10ac3d04253ef7e1ddc73e6091c0cd55' /* Next */ ,
+  'cancel_html' : 'ea4788705e6873b424c65e91c2846b19' /* Cancel */ ,
   'password2_fieldLabel' : '6d70a993714d2699e1d30e03d2753850' /* Please enter again to confirm */ ,
   'password1_fieldLabel' : 'bbddd6ba0948d79e55486e615a265b56' /* Enter your new password */ 
  },
@@ -61,6 +63,21 @@ Roo.apply(Pman.Dialog.BAdminPasswordReset.prototype, {
     xns : Roo.bootstrap,
     '|xns' : 'Roo.bootstrap',
     buttons : [
+     {
+      xtype : 'Button',
+      html : _this._strings['ea4788705e6873b424c65e91c2846b19'] /* Cancel */,
+      name : 'cancel',
+      weight : 'default',
+      listeners : {
+       click : function (_self, e)
+        {
+            _this.dialog.el.select('.modal-content', true).first().mask('Sending...');
+            _this.form.doAction('submit');
+        }
+      },
+      xns : Roo.bootstrap,
+      '|xns' : 'Roo.bootstrap'
+     },
      {
       xtype : 'Button',
       html : _this._strings['10ac3d04253ef7e1ddc73e6091c0cd55'] /* Next */,