{ "name" : "Pman.Dialog.AddChildElementToPage", "parent" : "", "title" : "", "path" : "/home/edward/gitlive/Pman.Cms/Pman.Dialog.AddChildElementToPage.bjs", "permname" : "", "modOrder" : "001", "strings" : { "463ab1bc075f498d1aa03b9bc062efa3" : "Element Type", "9656c9cdb7ecd471b88284047d6d885b" : "Select Element", "1243daf593fa297e07ab03bf06d925af" : "Searching...", "ea4788705e6873b424c65e91c2846b19" : "Cancel", "c9cc8cce247e49bae79f15173ce97354" : "Save", "f4b319f11758cc6fe44c71999f7690ac" : "Type of element to add" }, "items" : [ { "listeners" : { "show" : "function (_self)\n{\n \n \n}" }, "collapsible" : false, "title" : "Type of element to add", "xtype" : "LayoutDialog", "width" : 400, "$ xns" : "Roo", "closable" : false, "resizable" : false, "height" : 120, "items" : [ { "xtype" : "LayoutRegion", "$ xns" : "Roo", "* prop" : "center" }, { "region" : "center", "xtype" : "ContentPanel", "$ xns" : "Roo", "items" : [ { "listeners" : { "|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", "|rendered" : "function (form)\n{\n _this.form = form;\n}\n" }, "$ url" : "baseURL + '/Roo/cms_category_type.php'", "xtype" : "Form", "method" : "POST", "style" : "margin:10px;", "$ xns" : "Roo.form", "items" : [ { "alwaysQuery" : true, "listWidth" : 400, "triggerAction" : "all", "fieldLabel" : "Element Type", "forceSelection" : true, "selectOnFocus" : true, "pageSize" : 20, "displayField" : "name", "emptyText" : "Select Element", "hiddenName" : "element_id", "minChars" : 2, "valueField" : "id", "xtype" : "ComboBox", "typeAhead" : false, "editable" : false, "$ xns" : "Roo.form", "name" : "element_id_name", "qtip" : "Select Element", "tpl" : "