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

index d78bde9..5bbb76c 100644 (file)
@@ -200,6 +200,8 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
             
             cfg.href=this.href;
             
+            var value = cfg.html;
+            
             if(this.glyphicon){
                 cfg.cn = [
                     {
@@ -211,6 +213,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
             }
             
             cfg.cn = [
+                cfg.html,
                 {
                     tag: 'span',
                     cls: 'badge',