2 "name" : "Pman.Dialog.AdminEnumMerge",
5 "path" : "/home/edward/gitlive/Pman.Admin/Pman.Dialog.AdminEnumMerge.bjs",
9 "0b3e4317865feb6f0224397600b7cafc" : "Merge Core Enum",
10 "ea4788705e6873b424c65e91c2846b19" : "Cancel",
11 "e0aa021e21dddbd6d8cecec71e9cf564" : "OK"
16 "collapsible" : false,
18 "title" : "Merge Core Enum",
19 "xtype" : "LayoutDialog",
27 "xtype" : "LayoutRegion",
36 "xtype" : "ContentPanel",
41 "|actioncomplete" : "function (_self, action)\n{\n if (action.type == 'setdata') {\n\n return;\n }\n if (action.type == 'load') {\n _this.dialog.el.unmask();\n return;\n }\n if (action.type == 'submit' ) {\n _this.dialog.el.unmask();\n _this.dialog.hide();\n\n if (_this.callback) {\n _this.callback.call(_this, action.result.data);\n }\n _this.form.reset();\n }\n}\n",
42 "|rendered" : "function (form)\n{\n _this.form = form;\n}"
44 "$ url" : "baseURL + '/Roo/core_enum.php'",
47 "style" : "margin: 5px",
52 "Number pageSize" : 50,
53 "triggerAction" : "all",
54 "fieldLabel" : "Merge with",
55 "forceSelection" : true,
56 "selectOnFocus" : true,
59 "hiddenName" : "industry_id",
60 "displayField" : "display_name",
63 "Number listWidth" : 400,
66 "name" : "industry_id_display_name",
67 "queryParam" : "query[search]",
68 "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{display_name}</b> </div>",
72 "|beforeload" : "function (_self, o){\n o.params = o.params || {};\n \n o.params.active = 1;\n o.params.etype = 'EuroCham.Industry';\n}\n"
77 "$ sortInfo" : "{ direction : 'ASC', field: 'id' }",
81 "$ url" : "baseURL + '/Roo/Core_enum.php'",
82 "xtype" : "HttpProxy",
90 "xtype" : "JsonReader",
92 "$ fields" : "[\n {\n \"name\":\"name\",\n \"type\":\"string\"\n },\n {\n \"name\":\"display_name\",\n \"type\":\"string\"\n }\n]",
94 "totalProperty" : "total"
102 "$ xns" : "Roo.form",
111 "|click" : "function() {\n _this.form.reset();\n _this.dialog.hide();\n}"
116 "* prop" : "buttons[]"
120 "|click" : "function() {\n\n var name = _this.form.findField('name').getValue();\n name = name.toUpperCase().replace(/[^A-Z]+/g, '');\n if (!name.length) {\n Roo.MessageBox.alert(\"Error\",\"Please fill in a valid name\");\n return;\n }\n _this.form.findField('name').setValue(name);\n \n _this.form.doAction('submit');\n \n}"
125 "* prop" : "buttons[]"