From: Edward Date: Thu, 8 May 2014 10:33:21 +0000 (+0800) Subject: Pman.Dialog.CoreAutoSavePreview.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=a8f1fccadc223768d78e2ba4d3c25675d9e64b87 Pman.Dialog.CoreAutoSavePreview.bjs Pman.Dialog.CoreAutoSavePreview.js --- diff --git a/Pman.Dialog.CoreAutoSavePreview.bjs b/Pman.Dialog.CoreAutoSavePreview.bjs index 01525381..674e55c8 100644 --- a/Pman.Dialog.CoreAutoSavePreview.bjs +++ b/Pman.Dialog.CoreAutoSavePreview.bjs @@ -136,7 +136,7 @@ }, { "listeners": { - "|click": "function() {\n\n _this.dialog.hide();\n\n}" + "|click": "function() {\n\n _this.dialog.hide();\n \n\n}" }, "*prop": "buttons[]", "text": "OK", diff --git a/Pman.Dialog.CoreAutoSavePreview.js b/Pman.Dialog.CoreAutoSavePreview.js index d34dc0a1..92d3b1f0 100644 --- a/Pman.Dialog.CoreAutoSavePreview.js +++ b/Pman.Dialog.CoreAutoSavePreview.js @@ -222,6 +222,7 @@ Pman.Dialog.CoreAutoSavePreview = { click : function() { _this.dialog.hide(); + } },