3 "name": "Pman.Dialog.MTrackMilestone",
6 "path": "/home/alan/gitlive/Pman.MTrack/Pman.Dialog.MTrackMilestone.bjs",
13 "title": "Edit / Create mtrack_milestone",
15 "xtype": "LayoutDialog",
20 "xtype": "LayoutRegion",
25 "xtype": "ContentPanel",
32 "|actioncomplete": "function(_self,action)\n{\n if (action.type == 'setdata') {\n //_this.dialog.el.mask(\"Loading\");\n //this.load({ method: 'GET', params: { '_id' : _this.data.id }});\n return;\n }\n if (action.type == 'load') {\n _this.dialog.el.unmask();\n return;\n }\n if (action.type =='submit') {\n \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 return;\n }\n}\n",
33 "|rendered": "function (form)\n{\n _this.form= form;\n}\n"
36 "style": "margin:10px;",
37 "|url": "baseURL + '/Roo/mtrack_milestone.php'",
47 "fieldLabel": "Description",
48 "name": "description",
55 "fieldLabel": "Startdate",
62 "fieldLabel": "Duedate",
69 "fieldLabel": "Completed",
78 "allowBlank": "false",
80 "emptyText": "Select mtrack_change",
81 "forceSelection": true,
83 "loadingText": "Searching...",
86 "qtip": "Select mtrack_change",
87 "selectOnFocus": true,
88 "triggerAction": "all",
91 "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{ontable}</b> </div>",
92 "queryParam": "query[ontable]",
93 "fieldLabel": "Deleted",
95 "displayField": "ontable",
96 "hiddenName": "deleted",
97 "name": "deleted_ontable",
104 "|sortInfo": "{ direction : 'ASC', field: 'id' }",
106 "|beforeload": "function (_self, o){\n o.params = o.params || {};\n // set more here\n}\n"
111 "xtype": "HttpProxy",
114 "|url": "baseURL + '/Roo/mtrack_change.php'"
118 "xtype": "JsonReader",
122 "totalProperty": "total",
123 "|fields": "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"ontable\",\"type\":\"string\"}]"
132 "allowBlank": "false",
134 "emptyText": "Select mtrack_change",
135 "forceSelection": true,
137 "loadingText": "Searching...",
140 "qtip": "Select mtrack_change",
141 "selectOnFocus": true,
142 "triggerAction": "all",
145 "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{ontable}</b> </div>",
146 "queryParam": "query[ontable]",
147 "fieldLabel": "Created",
149 "displayField": "ontable",
150 "hiddenName": "created",
151 "name": "created_ontable",
158 "|sortInfo": "{ direction : 'ASC', field: 'id' }",
160 "|beforeload": "function (_self, o){\n o.params = o.params || {};\n // set more here\n}\n"
165 "xtype": "HttpProxy",
168 "|url": "baseURL + '/Roo/mtrack_change.php'"
172 "xtype": "JsonReader",
176 "totalProperty": "total",
177 "|fields": "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"ontable\",\"type\":\"string\"}]"
186 "allowBlank": "false",
188 "emptyText": "Select mtrack_change",
189 "forceSelection": true,
191 "loadingText": "Searching...",
194 "qtip": "Select mtrack_change",
195 "selectOnFocus": true,
196 "triggerAction": "all",
199 "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{ontable}</b> </div>",
200 "queryParam": "query[ontable]",
201 "fieldLabel": "Updated",
203 "displayField": "ontable",
204 "hiddenName": "updated",
205 "name": "updated_ontable",
212 "|sortInfo": "{ direction : 'ASC', field: 'id' }",
214 "|beforeload": "function (_self, o){\n o.params = o.params || {};\n // set more here\n}\n"
219 "xtype": "HttpProxy",
222 "|url": "baseURL + '/Roo/mtrack_change.php'"
226 "xtype": "JsonReader",
230 "totalProperty": "total",
231 "|fields": "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"ontable\",\"type\":\"string\"}]"
238 "fieldLabel": "Project",
239 "name": "project_id",
255 "click": "function (_self, e)\n{\n _this.dialog.hide();\n}"
257 "*prop": "buttons[]",
264 "click": "function (_self, e)\n{\n // do some checks?\n \n \n _this.dialog.el.mask(\"Saving\");\n _this.form.doAction(\"submit\");\n\n}"
266 "*prop": "buttons[]",