2 "name" : "Pman.Dialog.CoreNotifyRecurKeywords",
5 "path" : "/home/edward/gitlive/Pman.Core/Pman.Dialog.CoreNotifyRecurKeywords.bjs",
9 "0ee0f676f631ad4e8a5844314a3a20de" : "Select campaign",
10 "1243daf593fa297e07ab03bf06d925af" : "Searching...",
11 "ea4788705e6873b424c65e91c2846b19" : "Cancel",
12 "e0aa021e21dddbd6d8cecec71e9cf564" : "OK",
13 "790f855c2139f2faecb810519e90b833" : "Add Notification Keywords",
14 "ded4cba1b04eb8236e24a3e39470d8a7" : "Select Campaign"
19 "show" : "function (_self)\n{\n \n}"
22 "collapsible" : false,
24 "title" : "Add Notification Keywords",
25 "xtype" : "LayoutDialog",
33 "xtype" : "LayoutRegion",
42 "xtype" : "ContentPanel",
47 "|actioncomplete" : "function (_self, action)\n{\n if (action.type == 'setdata') {\n \n if(_this.data.id){\n _this.dialog.el.mask(\"Loading\");\n this.load({ method: 'GET', params: { '_id' : _this.data.id }}); \n }\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",
48 "|rendered" : "function (form)\n{\n _this.form = form;\n}"
50 "$ url" : "baseURL + '/Roo/Core_notify_recur.php'",
53 "style" : "margin: 5px",
64 "triggerAction" : "all",
65 "fieldLabel" : "Campaign",
66 "forceSelection" : true,
67 "selectOnFocus" : true,
69 "displayField" : "name",
70 "emptyText" : "Select Campaign",
71 "hiddenName" : "campaign_id",
80 "name" : "camapign_id_name",
81 "qtip" : "Select campaign",
82 "queryParam" : "search[display_name]",
83 "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{display_name}</b> </div>",
84 "loadingText" : "Searching...",
88 "|beforeload" : "function (_self, o){\n o.params = o.params || {};\n // set more here\n o.params.etype = 'crm_industry';\n o.params.active = 1;\n}\n"
92 "$ sortInfo" : "{ direction : 'ASC', field: 'display_name' }",
97 "$ url" : "baseURL + '/Roo/core_enum.php'",
99 "xtype" : "HttpProxy",
100 "$ xns" : "Roo.data",
106 "xtype" : "JsonReader",
107 "$ xns" : "Roo.data",
108 "$ fields" : "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"etype\",\"type\":\"string\"}]",
110 "totalProperty" : "total"
122 "|click" : "function() {\n _this.form.reset();\n _this.dialog.hide();\n}"
127 "* prop" : "buttons[]"
131 "|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}"
136 "* prop" : "buttons[]"