Roo/bootstrap/Button.js
[roojs1] / Roo / bootstrap / Button.js
index f6566f7..a7c33aa 100644 (file)
@@ -79,8 +79,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
     
     
     pressed : null,
-    
-    actionMode : 'el',
+     
     
     getAutoCreate : function(){
         
@@ -96,7 +95,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
         } else {
             cfg.tag = this.tag;
         }
-        cfg.html = '<span class="roo-button-text">' + (this.html || cfg.html) + '</span>';
+        cfg.html = this.html || cfg.html;
         
         if (this.toggle == true) {
             cfg={
@@ -332,17 +331,17 @@ 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.
+     
         this.el.hide();   
     },
     show: function() {
        
         this.el.show();   
     }
-    */
+    
     
 });