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

index 7b8ce03..b74cbdb 100644 (file)
@@ -192,16 +192,17 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
         }
         
         if (this.badge) {
-            cfg.html += ' ';
-            
-            cfg.tag = 'a';
-            
-            cfg.cls=cfg.cls;
-            
-            cfg.href=this.href;
+//            cfg.html += ' ';
+//            
+//            cfg.tag = 'a';
+//            
+//            cfg.cls=cfg.cls;
+//            
+//            cfg.href=this.href;
             
             cfg.cn = [
-                cfg.html,
+                
+                cfg.cn,
                 {
                     tag: 'span',
                     cls: 'badge',