3 "name": "Pman.Dialog.AdminWatch",
6 "path": "/home/alan/gitlive/Pman.Admin/Pman.Dialog.AdminWatch.bjs",
13 "title": "Edit / Create core_watch",
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/core_watch.php'",
40 "fieldLabel": "Ontable",
56 "allowBlank": "false",
58 "emptyText": "Select Person",
59 "forceSelection": true,
61 "loadingText": "Searching...",
64 "qtip": "Select Person",
65 "selectOnFocus": true,
66 "triggerAction": "all",
69 "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>",
70 "queryParam": "query[name]",
71 "fieldLabel": "Person",
73 "displayField": "name",
74 "hiddenName": "person_id",
75 "name": "person_id_name",
82 "|sortInfo": "{ direction : 'ASC', field: 'id' }",
84 "|beforeload": "function (_self, o){\n o.params = o.params || {};\n // set more here\n}\n"
92 "|url": "baseURL + '/Roo/Person.php'"
96 "xtype": "JsonReader",
100 "totalProperty": "total",
101 "|fields": "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"name\",\"type\":\"string\"}]"
108 "fieldLabel": "Event",
115 "fieldLabel": "Medium",
122 "fieldLabel": "Active",
139 "click": "function (_self, e)\n{\n _this.dialog.hide();\n}"
141 "*prop": "buttons[]",
148 "click": "function (_self, e)\n{\n // do some checks?\n \n \n _this.dialog.el.mask(\"Saving\");\n _this.form.doAction(\"submit\");\n\n}"
150 "*prop": "buttons[]",