Roo/bootstrap/Button.js
authorAlan Knowles <alan@roojs.com>
Tue, 22 Jul 2014 10:00:15 +0000 (18:00 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 22 Jul 2014 10:00:15 +0000 (18:00 +0800)
Roo/bootstrap/Button.js

index f30061b..f6566f7 100644 (file)
@@ -271,7 +271,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
             this.el.select('.roo-button').on('click', this.onClick, this);
        }
        
-       
+       this.el.enableDisplayMode();
         
     },
     onClick : function(e)
@@ -332,7 +332,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
     setText : function(str)
     {
         this.el.select('.roo-button-text',true).first().dom.innerHTML = str;
-    },
+    }/*,
     hide: function() {
        
         this.el.
@@ -342,7 +342,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
        
         this.el.show();   
     }
-    
+    */
     
 });