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 \n \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",
59 "triggerAction" : "all",
60 "fieldLabel" : "Campaign",
61 "forceSelection" : true,
62 "selectOnFocus" : true,
65 "displayField" : "name",
66 "emptyText" : "Select Campaign",
67 "hiddenName" : "campaign_id",
75 "name" : "camapign_id_name",
76 "qtip" : "Select campaign",
77 "queryParam" : "query[name]",
78 "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b></div>",
79 "loadingText" : "Searching...",
83 "|beforeload" : "function (_self, o){\n o.params = o.params || {};\n \n}\n"
87 "$ sortInfo" : "{ direction : 'DESC', field: 'id' }",
92 "$ url" : "baseURL + '/Roo/Projects.php'",
94 "xtype" : "HttpProxy",
101 "xtype" : "JsonReader",
102 "$ xns" : "Roo.data",
103 "$ fields" : "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"name\",\"type\":\"string\"}]",
105 "totalProperty" : "total"
112 "Boolean allowBlank" : false,
113 "fieldLabel" : "Keywords",
114 "hiddenName" : "keyword_filters",
115 "xtype" : "ComboBoxArray",
117 "$ xns" : "Roo.form",
118 "name" : "keyword_filters_name",
121 "alwaysQuery" : true,
123 "triggerAction" : "all",
124 "fieldLabel" : "Keyword",
125 "forceSelection" : true,
126 "displayField" : "keyword",
129 "xtype" : "ComboBox",
133 "$ xns" : "Roo.form",
135 "queryParam" : "query[keyword]",
136 "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{keyword}</b> </div>",
140 "beforeload" : "function (_self, o){\n o.params = o.params || {};\n \n var s = _this.form.findField('campaign_id').getValue() * 1;\n \n if(isNaN(s) || s < 1){\n return false;\n }\n \n o.params.is_active = 1;\n o.params.is_keyword = 1;\n o.params.project_id = s;\n}\n"
144 "$ sortInfo" : "{ direction : 'ASC', field: 'display_name' }",
145 "$ xns" : "Roo.data",
149 "$ url" : "baseURL + '/Roo/clipping_keywords.php'",
150 "xtype" : "HttpProxy",
152 "$ xns" : "Roo.data",
158 "xtype" : "JsonReader",
159 "$ fields" : "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"keyword\",\"type\":\"string\"}]",
160 "$ xns" : "Roo.data",
162 "totalProperty" : "total"
172 "$ xns" : "Roo.form",
181 "|click" : "function() {\n _this.form.reset();\n _this.dialog.hide();\n}"
186 "* prop" : "buttons[]"
190 "|click" : "function() {\n \n _this.form.doAction('submit');\n \n}"
195 "* prop" : "buttons[]"