From 30702f46055606adee6603ea2e977268b30faa9f Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 4 May 2015 16:24:26 +0800 Subject: [PATCH] Pman.Dialog.CoreNotifyRecurKeywords.bjs Pman.Dialog.CoreNotifyRecurKeywords.js --- Pman.Dialog.CoreNotifyRecurKeywords.bjs | 2 +- Pman.Dialog.CoreNotifyRecurKeywords.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pman.Dialog.CoreNotifyRecurKeywords.bjs b/Pman.Dialog.CoreNotifyRecurKeywords.bjs index e54909f0..24404413 100644 --- a/Pman.Dialog.CoreNotifyRecurKeywords.bjs +++ b/Pman.Dialog.CoreNotifyRecurKeywords.bjs @@ -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 \n _this.dialog.el.unmask();\n \n _this.data = action.result.data;\n \n if(typeof(_this.data.keywords) != 'undefined'){\n \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", + "|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 Roo.log(_this.data);\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'", diff --git a/Pman.Dialog.CoreNotifyRecurKeywords.js b/Pman.Dialog.CoreNotifyRecurKeywords.js index afe111ba..73b8d192 100644 --- a/Pman.Dialog.CoreNotifyRecurKeywords.js +++ b/Pman.Dialog.CoreNotifyRecurKeywords.js @@ -123,8 +123,8 @@ Pman.Dialog.CoreNotifyRecurKeywords = { _this.data = action.result.data; + Roo.log(_this.data); if(typeof(_this.data.keywords) != 'undefined'){ - var n = Roo.decode(_this.data.keywords); _this.form.findField('keyword_filters').setValue(n); } -- 2.39.2