From: Edward Date: Thu, 8 May 2014 11:04:56 +0000 (+0800) Subject: Pman.Dialog.CoreAutoSavePreview.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=e5c4498c2305d7f2b59b1ae2928adcfdce457b36 Pman.Dialog.CoreAutoSavePreview.bjs Pman.Dialog.CoreAutoSavePreview.js --- diff --git a/Pman.Dialog.CoreAutoSavePreview.bjs b/Pman.Dialog.CoreAutoSavePreview.bjs index d7438423..1711b0a4 100644 --- a/Pman.Dialog.CoreAutoSavePreview.bjs +++ b/Pman.Dialog.CoreAutoSavePreview.bjs @@ -7,7 +7,7 @@ "items": [ { "listeners": { - "show": "function (_self)\n{\n if(typeof(_this.data) != 'undefined'){\n _this.grid.footer.onClick('first');\n }\n \n if (!_this.grid.getSelectionModel().getSelected()) {\n _this.source = '';\n _this.viewPanel.setContent(\"Please select a version on the left\");\n }\n \n \n \n}" + "show": "function (_self)\n{\n if(typeof(_this.data) != 'undefined'){\n _this.grid.footer.onClick('first');\n }\n \n if (!_this.grid.getSelectionModel().getSelected()) {\n _this.source = '';\n _this.viewPanel.setContent(\"Please select a version on the left\");\n }\n \n}" }, "background": false, "closable": false, diff --git a/Pman.Dialog.CoreAutoSavePreview.js b/Pman.Dialog.CoreAutoSavePreview.js index f02e252b..fbef917d 100644 --- a/Pman.Dialog.CoreAutoSavePreview.js +++ b/Pman.Dialog.CoreAutoSavePreview.js @@ -42,8 +42,6 @@ Pman.Dialog.CoreAutoSavePreview = { _this.viewPanel.setContent("Please select a version on the left"); } - - } }, background : false,