From 94a9b98be260597cd5e1c3f69e01fa764d75c3a9 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 8 May 2014 18:28:09 +0800 Subject: [PATCH] Pman.Dialog.CoreAutoSavePreview.bjs Pman.Dialog.CoreAutoSavePreview.js --- Pman.Dialog.CoreAutoSavePreview.bjs | 2 +- Pman.Dialog.CoreAutoSavePreview.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Pman.Dialog.CoreAutoSavePreview.bjs b/Pman.Dialog.CoreAutoSavePreview.bjs index c54cead2..bd28936b 100644 --- a/Pman.Dialog.CoreAutoSavePreview.bjs +++ b/Pman.Dialog.CoreAutoSavePreview.bjs @@ -136,7 +136,7 @@ }, { "listeners": { - "|click": "function() {\n _this.dialog.hide();\n}" + "|click": "function() {\n Roo.log(_this.source);\n _this.dialog.hide();\n\n}" }, "*prop": "buttons[]", "text": "OK", diff --git a/Pman.Dialog.CoreAutoSavePreview.js b/Pman.Dialog.CoreAutoSavePreview.js index 1c30897b..6c3a5064 100644 --- a/Pman.Dialog.CoreAutoSavePreview.js +++ b/Pman.Dialog.CoreAutoSavePreview.js @@ -220,7 +220,9 @@ Pman.Dialog.CoreAutoSavePreview = { xns: Roo, listeners : { click : function() { + Roo.log(_this.source); _this.dialog.hide(); + } }, text : "OK" -- 2.39.2