FixBug.bjs
authorAlan Knowles <alan@akbkhome.com>
Wed, 30 Mar 2011 09:09:17 +0000 (17:09 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 30 Mar 2011 09:09:17 +0000 (17:09 +0800)
FixBug.bjs

index 8a0b57c..54f88eb 100644 (file)
@@ -37,6 +37,9 @@
                                     "|xns": "Gtk"
                                 },
                                 {
+                                    "listeners": {
+                                        "changed": "function (self) {\n\n}"
+                                    },
                                     "id": "bug",
                                     "pack": "pack_end,true,true,3",
                                     "xtype": "ComboBox",
@@ -44,9 +47,6 @@
                                     "|init": "function() {\n    XObject.prototype.init.call(this);\n  this.el.add_attribute(this.items[0].el , 'markup', 1 );  \n}\n",
                                     "|setValue": "function(v)\n                {\n                    var el = this.el;\n                    el.set_active(-1);\n                    this.get('model').data.forEach(function(n, ix) {\n                        if (v == n.xtype) {\n                            el.set_active(ix);\n                            return false;\n                        }\n                    });\n                }",
                                     "|xns": "Gtk",
-                                    "listeners": {
-                                        "changed": "function (self) {\n\n}"
-                                    },
                                     "items": [
                                         {
                                             "|xns": "Gtk",