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

FixBug.bjs
FixBug.js

index caf9f34..fd9d4b6 100644 (file)
                             "items": [
                                 {
                                     "listeners": {
-                                        "activate": "function (self) {\n\n   \n}",
-                                        "button_press_event": "function (self, event) {\n\n}"
+                                        "button_press_event": "function (self, event) {\n Roo.log(\"hide window\");\n   _this.el.hide();\n}"
                                     },
                                     "label": "Not working on Project",
                                     "pack": "add",
index e9b519d..9d632c2 100644 (file)
--- a/FixBug.js
+++ b/FixBug.js
@@ -305,12 +305,9 @@ FixBug=new XObject({
                         {
                             xtype: Gtk.Button,
                             listeners : {
-                                activate : function (self) {
-                                
-                                   
-                                },
                                 button_press_event : function (self, event) {
-                                
+                                 Roo.log("hide window");
+                                   _this.el.hide();
                                 }
                             },
                             label : "Not working on Project",