From 476e47bc094758a77ab07d66ac01f189679e1c5e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 4 Nov 2010 11:20:23 +0800 Subject: [PATCH] Sample/Editor.bjs --- Sample/Editor.bjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sample/Editor.bjs b/Sample/Editor.bjs index 80b5543b1..28a678499 100644 --- a/Sample/Editor.bjs +++ b/Sample/Editor.bjs @@ -6,7 +6,6 @@ "path": "/home/alan/gitlive/app.Builder.js/Sample/Editor.bjs", "items": [ { - "|save": "function (self, event) {\n if (!this.get('/Editor.RightEditor').save()) {\n // no hiding with errors.\n return true;\n }\n this.get('/Editor').activePath = false;\n this.el.hide();\n return true;\n}", "listeners": { "delete_event": "function (self, event) {\n if (!this.get('/Editor.RightEditor').save()) {\n // no hiding with errors.\n return true;\n }\n this.el.hide();\n this.get('/Editor').activePath = false;\n return true;\n}", "configure_event": "function (self, object) {\n this.pos = this.el.get_position();\n\n\n return false;\n}", @@ -17,7 +16,7 @@ "title": "Application Builder - Editor", "width_request": 500, "xtype": "Window", - "|": "function() {\n return this.get('/Editor.RightEditor').save();\n}\n", + "|save": "function (self, event) {\n if (!this.get('/Editor.RightEditor').save()) {\n // no hiding with errors.\n return true;\n }\n this.get('/Editor').activePath = false;\n this.el.hide();\n return true;\n}", "|init": "function() {\n XObject.prototype.init.call(this);\n // this.show_all();\n}\n", "|xns": "Gtk", "items": [ -- 2.39.2