Roo/bootstrap/Button.js
authorEdward <edward@roojs.com>
Mon, 31 Mar 2014 04:25:22 +0000 (12:25 +0800)
committerEdward <edward@roojs.com>
Mon, 31 Mar 2014 04:25:22 +0000 (12:25 +0800)
Roo/bootstrap/Button.js

index 29d9292..6be539d 100644 (file)
@@ -224,6 +224,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
        // Roo.log('init events?');
        // Roo.log(this.el.dom);
        if (this.el.hasClass('roo-button')) {
+           Roo.log(this.el);
             this.el.on('click', this.onClick, this);
        } else {
             this.el.select('.roo-button').on('click', this.onClick, this);