From 19f9f3ecbcb4dca161fb4e2f195853af6fb79986 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 8 May 2014 17:10:53 +0800 Subject: [PATCH] Pman.Dialog.CoreAutoSavePreview.bjs Pman.Dialog.CoreAutoSavePreview.js --- Pman.Dialog.CoreAutoSavePreview.bjs | 2 +- Pman.Dialog.CoreAutoSavePreview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pman.Dialog.CoreAutoSavePreview.bjs b/Pman.Dialog.CoreAutoSavePreview.bjs index 8e56e4e0..4882d83b 100644 --- a/Pman.Dialog.CoreAutoSavePreview.bjs +++ b/Pman.Dialog.CoreAutoSavePreview.bjs @@ -63,7 +63,7 @@ }, { "listeners": { - "|beforeload": "function (_self, o)\n{\n Roo.log(_this.data);\n o.params = o.parmas || {};\n o.action = 'AUTOSAVE';\n \n}" + "|beforeload": "function (_self, o)\n{\n Roo.log(_this.data);\n o.params = o.parmas || {};\n o.params.action = 'AUTOSAVE';\n \n}" }, "*prop": "dataSource", "remoteSort": true, diff --git a/Pman.Dialog.CoreAutoSavePreview.js b/Pman.Dialog.CoreAutoSavePreview.js index ed60c0c7..6e4d43f8 100644 --- a/Pman.Dialog.CoreAutoSavePreview.js +++ b/Pman.Dialog.CoreAutoSavePreview.js @@ -95,7 +95,7 @@ Pman.Dialog.CoreAutoSavePreview = { { Roo.log(_this.data); o.params = o.parmas || {}; - o.action = 'AUTOSAVE'; + o.params.action = 'AUTOSAVE'; } }, -- 2.39.2