FixBug.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 9 Dec 2012 14:39:13 +0000 (22:39 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 9 Dec 2012 14:39:13 +0000 (22:39 +0800)
FixBug.js

FixBug.bjs
FixBug.js

index 8de9acf..3b9f400 100644 (file)
                                     "|xns": "Gtk"
                                 },
                                 {
+                                    "listeners": {
+                                        "activate": "function (self) {\n   _this.el.hide();\n}"
+                                    },
                                     "id": "ok_button",
                                     "label": "Working on Selected Ticket",
                                     "pack": "add",
index 44ceee6..a434894 100644 (file)
--- a/FixBug.js
+++ b/FixBug.js
@@ -309,6 +309,11 @@ FixBug=new XObject({
                         },
                         {
                             xtype: Gtk.Button,
+                            listeners : {
+                                activate : function (self) {
+                                   _this.el.hide();
+                                }
+                            },
                             id : "ok_button",
                             label : "Working on Selected Ticket",
                             pack : "add"