Roo/bootstrap/Button.js
[roojs1] / Roo / bootstrap / Button.js
index e797a70..5d84d97 100644 (file)
@@ -41,6 +41,7 @@ Roo.bootstrap.Button = function(config){
         /**
          * @event click
          * When a butotn is pressed
+         * @param {Roo.bootstrap.Button} this
          * @param {Roo.EventObject} e
          */
         "click" : true,
@@ -265,7 +266,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
        // Roo.log('init events?');
 //        Roo.log(this.el.dom);
         // add the menu...
-        
+        Roo.log('button????');
         if (typeof (this.menu) != 'undefined') {
             this.menu.parentType = this.xtype;
             this.menu.triggerEl = this.el;
@@ -292,6 +293,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
             return;
         }
         
+        
         Roo.log('button on click ');
         if(this.preventDefault){
             e.preventDefault();