From e8c8829a1df6cf396619aa1396d91619dfdf20a8 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 1 Nov 2010 14:11:17 +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 30bd3a2ec..fd8232623 100644 --- a/Sample/Editor.bjs +++ b/Sample/Editor.bjs @@ -7,7 +7,7 @@ "items": [ { "listeners": { - "destroy_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 return true;\n}", + "destroy_event": "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}", "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}", "show": "function (self) {\n if (this.pos) {\n this.el.set_uposition(this.pos.root_x,this.pos.root_y);\n }\n}" -- 2.39.2