From: Edward Date: Thu, 8 May 2014 10:28:09 +0000 (+0800) Subject: Pman.Dialog.CoreAutoSavePreview.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=94a9b98be260597cd5e1c3f69e01fa764d75c3a9 Pman.Dialog.CoreAutoSavePreview.bjs Pman.Dialog.CoreAutoSavePreview.js --- 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"