Sample/Window.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 1 Nov 2010 03:04:35 +0000 (11:04 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 1 Nov 2010 03:04:35 +0000 (11:04 +0800)
Sample/Window.js

index 1be744b..172a887 100644 (file)
@@ -1975,7 +1975,7 @@ Window=new XObject({
                                                                         if (this.get('/Editor').dirty) {
                                                                             if (!this.get('/Editor.buffer').checkSyntax()) {
                                                                                this.get('/StandardErrorDialog').show("Fix errors in code and save.."); 
-                                                                               return;
+                                                                               return true;
                                                                                 // error Dialog
                                                                             }
                                                                             this.get('/Editor.view').save();