Roo/bootstrap/Button.js
authorEdward <edward@roojs.com>
Fri, 15 Aug 2014 07:05:38 +0000 (15:05 +0800)
committerEdward <edward@roojs.com>
Fri, 15 Aug 2014 07:05:38 +0000 (15:05 +0800)
Roo/bootstrap/Button.js

index a7c33aa..c20df0d 100644 (file)
@@ -95,7 +95,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
         } else {
             cfg.tag = this.tag;
         }
-        cfg.html = this.html || cfg.html;
+        cfg.html = '<span class="roo-button-text">' + (this.html || cfg.html) + '</span>';
         
         if (this.toggle == true) {
             cfg={