Sample/Editor.bjs
authorAlan Knowles <alan@akbkhome.com>
Mon, 1 Nov 2010 02:36:05 +0000 (10:36 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 1 Nov 2010 02:36:05 +0000 (10:36 +0800)
Sample/Editor.bjs

index c212249..1852452 100644 (file)
@@ -41,7 +41,7 @@
                             "id": "RightEditor",
                             "pack": "add",
                             "xtype": "ScrolledWindow",
-                            "|save": "function() {\n     this.get('/LeftPanel.model').changed(  str , false);\n}\n",
+                            "|save": "function() {\n     this.get('/LeftPanel.model').changed(  str , false);\n     this.get('/Editor').dirty = false;\n}\n",
                             "|xns": "Gtk",
                             "items": [
                                 {