PHP8
[Pman.BAdmin] / Pman.Dialog.BAdminForgotPassword.bjs
1 {
2  "name" : "Pman.Dialog.BAdminForgotPassword",
3  "parent" : "",
4  "title" : "",
5  "path" : "/home/alan/gitlive/Pman.BAdmin/Pman.Dialog.BAdminForgotPassword.bjs",
6  "permname" : "",
7  "modOrder" : "001",
8  "strings" : {
9   "6832ac593617c3e5f61c82a20b0d9a3a" : "Enter your email address",
10   "62dd7b9a2b2efd33b8074f88f8356d12" : "Management account recovery",
11   "10ac3d04253ef7e1ddc73e6091c0cd55" : "Next",
12   "c4ca4238a0b923820dcc509a6f75849b" : "1"
13  },
14  "named_strings" : {
15   "ok_html" : "10ac3d04253ef7e1ddc73e6091c0cd55",
16   "ForgetPassword_value" : "c4ca4238a0b923820dcc509a6f75849b",
17   "passwordRequest_fieldLabel" : "6832ac593617c3e5f61c82a20b0d9a3a"
18  },
19  "items" : [
20   {
21    "listeners" : {
22     "show" : "function (_self)\n{\n    _this.dialog.el.select('.modal-content', true).first().unmask();\n}"
23    },
24    "String cls" : "enable-overflow roo-bootstrap-dialog",
25    "Boolean animate" : true,
26    "Boolean allow_close" : false,
27    "title" : "Management account recovery",
28    "xtype" : "Modal",
29    "buttonPosition" : "center",
30    "$ xns" : "Roo.bootstrap",
31    "items" : [
32     {
33      "listeners" : {
34       "click" : "function (_self, e)\n{\n    _this.dialog.el.select('.modal-content', true).first().mask('Sending...');\n    _this.form.doAction('submit');\n}"
35      },
36      "String weight" : "primary",
37      "xtype" : "Button",
38      "$ xns" : "Roo.bootstrap",
39      "String html" : "Next",
40      "* prop" : "buttons[]",
41      "string name" : "ok"
42     },
43     {
44      "xtype" : "Row",
45      "$ xns" : "Roo.bootstrap",
46      "items" : [
47       {
48        "xtype" : "Container",
49        "cls" : "col-md-12",
50        "$ xns" : "Roo.bootstrap",
51        "items" : [
52         {
53          "listeners" : {
54           "|render" : "function (_self) {\n    _this.form = _self;\n}",
55           "|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}",
56           "|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}"
57          },
58          "$ url" : "baseURL + '/Login'",
59          "labelAlign" : "top",
60          "xtype" : "Form",
61          "method" : "POST",
62          "$ xns" : "Roo.bootstrap",
63          "Boolean loadMask" : false,
64          "String style" : "padding: 10px;",
65          "items" : [
66           {
67            "xtype" : "Row",
68            "$ xns" : "Roo.bootstrap",
69            "items" : [
70             {
71              "xtype" : "Column",
72              "Number xs" : 12,
73              "$ xns" : "Roo.bootstrap",
74              "items" : [
75               {
76                "listeners" : {
77                 "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}"
78                },
79                "Boolean allowBlank" : false,
80                "String name" : "passwordRequest",
81                "xtype" : "Input",
82                "string fieldLabel" : "Enter your email address",
83                "$ xns" : "Roo.bootstrap",
84                "String indicatorpos" : "right"
85               }
86              ]
87             }
88            ]
89           },
90           {
91            "String name" : "ForgetPassword",
92            "xtype" : "Input",
93            "String inputType" : "hidden",
94            "$ xns" : "Roo.bootstrap",
95            "string value" : 1
96           }
97          ]
98         }
99        ]
100       }
101      ]
102     }
103    ]
104   }
105  ]
106 }