Roo/Button.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 1 Nov 2010 09:28:30 +0000 (17:28 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 1 Nov 2010 09:28:30 +0000 (17:28 +0800)
Roo/Button.js

index ee5ed93..2c4e413 100644 (file)
@@ -79,6 +79,7 @@ Roo.Button = function(renderTo, config)
     if(this.menu){
         this.menu = Roo.menu.MenuMgr.get(this.menu);
     }
+    // register listeners first!!1 - so render can be captured..
     Roo.util.Observable.call(this);
     if(renderTo){
         this.render(renderTo);