X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Dialog.CoreNotifyRecurKeywords.bjs;h=7f90bd4ea63725d65dcff33bd8be1eabd54000ba;hb=61229b70e50bf98a966c52d17bcd81af76369208;hp=47b53439d898a3dcb166479d93f8fa045239b5fc;hpb=70b3994d98ead5c4c4c2135cb4e80fc32fa5c803;p=Pman.Core diff --git a/Pman.Dialog.CoreNotifyRecurKeywords.bjs b/Pman.Dialog.CoreNotifyRecurKeywords.bjs index 47b53439..7f90bd4e 100644 --- a/Pman.Dialog.CoreNotifyRecurKeywords.bjs +++ b/Pman.Dialog.CoreNotifyRecurKeywords.bjs @@ -23,11 +23,11 @@ "background" : true, "title" : "Add Notification Keywords", "xtype" : "LayoutDialog", - "width" : 400, + "width" : 600, "$ xns" : "Roo", "closable" : false, "resizable" : false, - "height" : 150, + "height" : 180, "items" : [ { "xtype" : "LayoutRegion", @@ -44,7 +44,7 @@ "items" : [ { "listeners" : { - "|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", + "|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 _this.dialog.el.unmask();\n \n _this.data = action.result.data;\n \n if(typeof(_this.data.keywords) != 'undefined'){\n var n = Roo.decode(_this.data.keywords);\n _this.form.findField('keyword_filters').setValue(n);\n }\n \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", "|rendered" : "function (form)\n{\n _this.form = form;\n}" }, "$ url" : "baseURL + '/Roo/Core_notify_recur.php'", @@ -61,7 +61,7 @@ "forceSelection" : true, "selectOnFocus" : true, "pageSize" : 20, - "Number width" : 200, + "Number width" : 400, "displayField" : "name", "emptyText" : "Select Campaign", "hiddenName" : "campaign_id", @@ -72,7 +72,7 @@ "typeAhead" : false, "editable" : true, "$ xns" : "Roo.form", - "name" : "camapign_id_name", + "name" : "campaign_id_name", "qtip" : "Select campaign", "queryParam" : "query[name]", "tpl" : "