Roo/bootstrap/Button.js
authorEdward <edward@roojs.com>
Mon, 31 Mar 2014 10:50:16 +0000 (18:50 +0800)
committerEdward <edward@roojs.com>
Mon, 31 Mar 2014 10:50:16 +0000 (18:50 +0800)
Roo/bootstrap/Button.js

index 7d4aa2d..aace5f6 100644 (file)
@@ -201,7 +201,11 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
             cfg.href=this.href;
             
             cfg.cn = [
-                cfg.html,
+                {
+                    tag: 'span',
+                    cls: 'glyphicon glyphicon-' + this.glyphicon,
+                    html: this.html
+                },
                 {
                     tag: 'span',
                     cls: 'badge',