sync
[Pman.Admin] / Pman.Dialog.AdminBulkPassword.bjs
1 {
2  "items" : [
3   {
4    "$ xns" : "Roo",
5    "closable" : false,
6    "height" : 420,
7    "items" : [
8     {
9      "$ xns" : "Roo",
10      "* prop" : "center",
11      "xtype" : "LayoutRegion"
12     },
13     {
14      "$ xns" : "Roo",
15      "items" : [
16       {
17        "$ url" : "baseURL + '/Roo/Core_person'",
18        "$ xns" : "Roo.form",
19        "items" : [
20         {
21          "$ xns" : "Roo.form",
22          "Number height" : 300,
23          "Number width" : 450,
24          "actionMode" : "fieldEl",
25          "fieldLabel" : "email and new password separeted by a space <br/>(note you can not change your password this way)",
26          "name" : "_bulk_update_passwords",
27          "xtype" : "TextArea"
28         }
29        ],
30        "labelAlign" : "top",
31        "labelWidth" : 100,
32        "listeners" : {
33         "actioncomplete" : [
34          "function (_self, action)",
35          "{ ",
36          "   if (action.type == 'setdata') {",
37          "",
38          "        ",
39          "",
40          "      return;",
41          "      ",
42          "   }",
43          "    if (action.type == 'load') {",
44          " ",
45          "        return;",
46          "    }",
47          "    if (action.type =='submit') {",
48          "",
49          "        ",
50          "        _this.dialog.hide();",
51          "",
52          "",
53          "        if (_this.callback) {",
54          "          _this.callback.call(_this, action.result.data);",
55          "        }",
56          "        _this.form.reset();",
57          "        return;",
58          "      } ",
59          "}"
60         ],
61         "rendered" : [
62          "function (form)",
63          "{",
64          "    _this.form = form;",
65          "}"
66         ]
67        },
68        "style" : "margin:5px",
69        "xtype" : "Form"
70       }
71      ],
72      "region" : "center",
73      "xtype" : "ContentPanel"
74     },
75     {
76      "$ xns" : "Roo",
77      "* prop" : "buttons[]",
78      "listeners" : {
79       "click" : [
80        "function (_self, e)",
81        "{",
82        "    _this.form.reset();",
83        "    _this.dialog.hide();",
84        "}"
85       ]
86      },
87      "text" : "Cancel",
88      "xtype" : "Button"
89     },
90     {
91      "$ xns" : "Roo",
92      "* prop" : "buttons[]",
93      "listeners" : {
94       "click" : [
95        "function (_self, e)",
96        "{",
97        "    ",
98        "    ",
99        "    _this.form.submit();",
100        "}"
101       ]
102      },
103      "text" : "OK",
104      "xtype" : "Button"
105     }
106    ],
107    "modal" : true,
108    "resizable" : false,
109    "title" : "Bulk Change Passwords",
110    "width" : 500,
111    "xtype" : "LayoutDialog"
112   }
113  ],
114  "modOrder" : "001",
115  "name" : "Pman.Dialog.AdminBulkPassword",
116  "named_strings" : {
117   "_bulk_update_passwords_fieldLabel" : "6dac324294c8f0378abea84fa382b60c"
118  },
119  "parent" : "",
120  "path" : "/home/alan/gitlive/Pman.Admin/Pman.Dialog.AdminBulkPassword.bjs",
121  "permname" : "",
122  "strings" : {
123   "6dac324294c8f0378abea84fa382b60c" : "email and new password separeted by a space <br/>(note you can not change your password this way)",
124   "e0aa021e21dddbd6d8cecec71e9cf564" : "OK",
125   "e47ca954fb02edc53af1507ac17d12a0" : "Bulk Change Passwords",
126   "ea4788705e6873b424c65e91c2846b19" : "Cancel"
127  },
128  "title" : ""
129 }