2 "name" : "Pman.Dialog.AddChildElementToPage",
5 "path" : "/home/edward/gitlive/Pman.Cms/Pman.Dialog.AddChildElementToPage.bjs",
9 "463ab1bc075f498d1aa03b9bc062efa3" : "Element Type",
10 "9656c9cdb7ecd471b88284047d6d885b" : "Select Element",
11 "1243daf593fa297e07ab03bf06d925af" : "Searching...",
12 "ea4788705e6873b424c65e91c2846b19" : "Cancel",
13 "c9cc8cce247e49bae79f15173ce97354" : "Save",
14 "f4b319f11758cc6fe44c71999f7690ac" : "Type of element to add"
19 "show" : "function (_self)\n{\n \n \n}"
21 "collapsible" : false,
22 "title" : "Type of element to add",
23 "xtype" : "LayoutDialog",
31 "xtype" : "LayoutRegion",
37 "xtype" : "ContentPanel",
42 "|actioncomplete" : "function(_self,action)\n{\n if (action.type == 'setdata') {\n \n return;\n }\n if (action.type == 'load') {\n \n return;\n }\n if (action.type =='submit') {\n \n _this.dialog.hide();\n \n if (_this.callback) {\n _this.callback.call(_this, _this.form.getFieldValues());\n }\n \n _this.form.reset();\n \n return;\n }\n}\n",
43 "|rendered" : "function (form)\n{\n _this.form = form;\n}\n"
45 "$ url" : "baseURL + '/Roo/cms_category_type.php'",
48 "style" : "margin:10px;",
54 "triggerAction" : "all",
55 "fieldLabel" : "Element Type",
56 "forceSelection" : true,
57 "selectOnFocus" : true,
59 "displayField" : "name",
60 "emptyText" : "Select Element",
61 "hiddenName" : "element_id",
68 "name" : "element_id_name",
69 "qtip" : "Select Element",
70 "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>",
71 "loadingText" : "Searching...",
75 "|beforeload" : "function (_self, o){\n \n o.params = o.params || {};\n \n Roo.log(_this.data);\n \n if(!_this.data.template_id || _this.data.template_id * 1 < 1){\n return false;\n }\n \n o.params.template_id = _this.data.template_id;\n \n}\n"
79 "$ sortInfo" : "{ direction : 'ASC', field: 'seqid' }",
84 "$ url" : "baseURL + '/Roo/Cms_template_element.php'",
85 "xtype" : "HttpProxy",
93 "xtype" : "JsonReader",
94 "$ fields" : "[\n {\n \"name\":\"id\",\n \"type\":\"int\"\n },\n {\n \"name\":\"name\",\n \"type\":\"string\"\n }\n]",
97 "totalProperty" : "total"
109 "click" : "function (_self, e)\n{\n _this.dialog.hide();\n}"
114 "* prop" : "buttons[]"
118 "click" : "function (_self, e)\n{\n _this.form.doAction(\"submit\");\n\n}"
123 "* prop" : "buttons[]"