Roo/bootstrap/Button.js
authorJulian Knowles <julian@roojs.com>
Mon, 20 Jan 2014 07:29:36 +0000 (15:29 +0800)
committerJulian Knowles <julian@roojs.com>
Mon, 20 Jan 2014 07:29:36 +0000 (15:29 +0800)
Roo/bootstrap/Button.js

index a7ef4ca..68d1700 100644 (file)
@@ -133,7 +133,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
         
         if (this.glyphicon) {
             if(typeof(cfg.html)==="string"&&cfg.html){
-                ' ' + cfg.html
+                cfg.html = ' ' + cfg.html;
             }
             
             cfg.cn = [