php7 fixes
[Pman.Builder] / Pman.Dialog.BuilderAppEdit.bjs
1 {
2     "id": "roo-file-72",
3     "name": "Pman.Dialog.BuilderAppEdit",
4     "parent": "",
5     "title": "Edit Module Details",
6     "path": "/home/alan/gitlive/Pman.Builder/Pman.Dialog.BuilderAppEdit.bjs",
7     "items": [
8         {
9             "listeners": {
10                 "|show": "function (_self)\n{\n   _this.dialog = _self;\n}"
11             },
12             "background": true,
13             "closable": false,
14             "collapsible": false,
15             "height": 200,
16             "modal": true,
17             "resizable": false,
18             "title": "Edit / Create Module",
19             "width": 500,
20             "xtype": "LayoutDialog",
21             "|xns": "Roo",
22             "items": [
23                 {
24                     "xtype": "LayoutRegion",
25                     "*prop": "center",
26                     "titlebar": false,
27                     "listeners": {},
28                     "|xns": "Roo"
29                 },
30                 {
31                     "xtype": "ContentPanel",
32                     "background": true,
33                     "fitToFrame": true,
34                     "region": "center",
35                     "listeners": {},
36                     "|xns": "Roo",
37                     "items": [
38                         {
39                             "listeners": {
40                                 "|actionfailed": "function (_self, action)\n{\n    _this.dialog.el.unmask();\n    Pman.standardActionFailed(_self, action);\n}\n",
41                                 "|actioncomplete": "function (_self, action)\n{\n   if (action.type == 'submit') {\n      _this.dialog.el.unmask();\n     _this.dialog.hide();\n   \n    if (_this.callback) {\n       _this.callback.call(_this, _this.form.getValues());\n    }\n    _this.form.reset();\n     }\n}\n",
42                                 "|rendered": "function (_self)\n{\n    _this.form = _self;\n}\n"
43                             },
44                             "method": "POST",
45                             "style": "margin: 5px",
46                             "xtype": "Form",
47                             "|url": "baseURL + '/Roo/Builder_app.php'",
48                             "|xns": "Roo.form",
49                             "items": [
50                                 {
51                                     "name": "id",
52                                     "xtype": "Hidden",
53                                     "|xns": "Roo.form"
54                                 },
55                                 {
56                                     "name": "app",
57                                     "fieldLabel": "Module",
58                                     "width": 200,
59                                     "xtype": "TextField",
60                                     "listeners": {},
61                                     "|xns": "Roo.form"
62                                 },
63                                 {
64                                     "name": "davurl",
65                                     "fieldLabel": "Webdav URL",
66                                     "width": 350,
67                                     "xtype": "TextField",
68                                     "listeners": {},
69                                     "vtype": "url",
70                                     "|xns": "Roo.form"
71                                 },
72                                 {
73                                     "name": "davwrite",
74                                     "fieldLabel": "Write to WebDav",
75                                     "xtype": "Checkbox",
76                                     "allowDecimals": false,
77                                     "listeners": {},
78                                     "boxLabel": "Check to enable PUT to Dav after save",
79                                     "inputValue": "1",
80                                     "|xns": "Roo.form"
81                                 },
82                                 {
83                                     "name": "gitpath",
84                                     "fieldLabel": "Git Path",
85                                     "width": 350,
86                                     "xtype": "TextField",
87                                     "listeners": {},
88                                     "|xns": "Roo.form"
89                                 }
90                             ]
91                         }
92                     ]
93                 },
94                 {
95                     "xtype": "Button",
96                     "|xns": "Roo",
97                     "text": "Cancel",
98                     "listeners": {
99                         "|click": "function (_self, e)\n{\n     _this.form.reset();\n     _this.dialog.hide();\n}"
100                     },
101                     "*prop": "buttons[]"
102                 },
103                 {
104                     "xtype": "Button",
105                     "|xns": "Roo",
106                     "text": "OK",
107                     "listeners": {
108                         "|click": "function (_self, e)\n{\n    _this.dialog.el.mask(\"Saving\");\n     _this.form.doAction('submit');\n    \n}"
109                     },
110                     "*prop": "buttons[]"
111                 }
112             ]
113         }
114     ],
115     "permname": "",
116     "modOrder": "001"
117 }