Sample/Editor.bjs
[app.Builder.js] / Sample / Editor.bjs
index 6429ecb..09914a4 100644 (file)
@@ -45,7 +45,7 @@
                             "id": "RightEditor",
                             "pack": "add",
                             "xtype": "ScrolledWindow",
-                            "|save": "function() {\n     var str = this.get('/Editor.buffer').toString();\n\n     this.get('/LeftPanel.model').changed(  str , false);\n     this.get('/Editor').dirty = false;\n     this.get('/Editor.save_button').el.sensitive = false;\n}\n",
+                            "|save": "function() {\n     var str = this.get('/Editor.buffer').toString();\n     i\n     this.get('/StandardErrorDialog').show(\"Fix errors in code and save..\"); \n     \n     this.get('/LeftPanel.model').changed(  str , false);\n     this.get('/Editor').dirty = false;\n     this.get('/Editor.save_button').el.sensitive = false;\n}\n",
                             "|xns": "Gtk",
                             "items": [
                                 {