3 "name": "Pman.Dialog.MTrackRepos",
6 "path": "/home/alan/gitlive/Pman.MTrack/Pman.Dialog.MTrackRepos.bjs",
13 "title": "Edit / Create mtrack_repos",
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_repos.php'",
40 "fieldLabel": "Shortname",
47 "fieldLabel": "Scmtype",
54 "fieldLabel": "Repopath",
61 "fieldLabel": "Browserurl",
68 "fieldLabel": "Browsertype",
69 "name": "browsertype",
75 "fieldLabel": "Description",
76 "name": "description",
83 "fieldLabel": "Serverurl",
90 "fieldLabel": "Parent",
97 "fieldLabel": "Clonedfrom",
104 "allowBlank": "false",
105 "displayField": "name",
107 "emptyText": "Select Projects",
108 "fieldLabel": "Projects",
109 "forceSelection": true,
110 "hiddenName": "project_id",
112 "loadingText": "Searching...",
114 "name": "project_id_name",
116 "qtip": "Select Projects",
118 "selectOnFocus": true,
119 "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>",
120 "triggerAction": "all",
132 "|sortInfo": "{ direction : 'ASC', field: 'id' }",
134 "|beforeload": "function (_self, o){\n o.params = o.params || {};\n // set more here\n}\n"
139 "xtype": "HttpProxy",
142 "|url": "baseURL + '/Roo/Projects.php'"
146 "xtype": "JsonReader",
150 "totalProperty": "total",
151 "|fields": "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"name\",\"type\":\"string\"}]"
158 "fieldLabel": "Project",
159 "name": "project_id",
175 "click": "function (_self, e)\n{\n _this.dialog.hide();\n}"
177 "*prop": "buttons[]",
184 "click": "function (_self, e)\n{\n // do some checks?\n \n \n _this.dialog.el.mask(\"Saving\");\n _this.form.doAction(\"submit\");\n\n}"
186 "*prop": "buttons[]",