From 04a25282fefc939b8cb017e28790071f70b3c2b9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 1 Nov 2010 11:23:07 +0800 Subject: [PATCH] Sample/Editor.bjs --- Sample/Editor.bjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sample/Editor.bjs b/Sample/Editor.bjs index 6429ecb64..09914a43c 100644 --- a/Sample/Editor.bjs +++ b/Sample/Editor.bjs @@ -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": [ { -- 2.39.2