From 6f8ad35e9c406b0af3d0aebff42b3d5a4caae072 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 8 May 2014 18:49:16 +0800 Subject: [PATCH] Pman.Dialog.CoreAutoSavePreview.bjs Pman.Dialog.CoreAutoSavePreview.js --- Pman.Dialog.CoreAutoSavePreview.bjs | 2 +- Pman.Dialog.CoreAutoSavePreview.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Pman.Dialog.CoreAutoSavePreview.bjs b/Pman.Dialog.CoreAutoSavePreview.bjs index 6814f0e6..0e5d045c 100644 --- a/Pman.Dialog.CoreAutoSavePreview.bjs +++ b/Pman.Dialog.CoreAutoSavePreview.bjs @@ -66,7 +66,7 @@ }, { "listeners": { - "beforeload": "function (_self, o)\n{\n o.params = o.params || {};\n \n if(typeof(_this.data) == 'undefined'){\n this.removeAll();\n return false;\n }\n\n var d = _this.data;\n delete d.successFn;\n Roo.apply(o.params, d);\n \n}" + "beforeload": "function (_self, o)\n{\n o.params = o.params || {};\n \n if(typeof(_this.data) == 'undefined'){\n this.removeAll();\n return false;\n }\n\n var d = _this.data;\n delete d.successFn;\n \n Roo.apply(o.params, d);\n \n}" }, "*prop": "dataSource", "remoteSort": true, diff --git a/Pman.Dialog.CoreAutoSavePreview.js b/Pman.Dialog.CoreAutoSavePreview.js index 75ec95bc..0a8e1412 100644 --- a/Pman.Dialog.CoreAutoSavePreview.js +++ b/Pman.Dialog.CoreAutoSavePreview.js @@ -136,6 +136,7 @@ Pman.Dialog.CoreAutoSavePreview = { var d = _this.data; delete d.successFn; + Roo.apply(o.params, d); } -- 2.39.2