Pman.Dialog.CoreAutoSavePreview.bjs
authorEdward <edward@roojs.com>
Thu, 8 May 2014 11:00:06 +0000 (19:00 +0800)
committerEdward <edward@roojs.com>
Thu, 8 May 2014 11:00:06 +0000 (19:00 +0800)
Pman.Dialog.CoreAutoSavePreview.js

Pman.Dialog.CoreAutoSavePreview.bjs
Pman.Dialog.CoreAutoSavePreview.js

index 068c758..c4fe230 100644 (file)
@@ -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    _this.source = '';\n    \n    _this.viewPanel.setContent(\"\");\n    \n}"
+                "show": "function (_self)\n{\n    if(typeof(_this.data) != 'undefined'){\n        _this.grid.footer.onClick('first');\n    }\n    \n    _this.source = '';\n    \n    _this.viewPanel.setContent(\"Please select a version on the left\");\n    \n}"
             },
             "background": false,
             "closable": false,
index 14918f0..17534c5 100644 (file)
@@ -39,7 +39,7 @@ Pman.Dialog.CoreAutoSavePreview = {
                     
                     _this.source = '';
                     
-                    _this.viewPanel.setContent("");
+                    _this.viewPanel.setContent("Please select a version on the left");
                     
                 }
             },