Roo/bootstrap/NavSidebarItem.js
authoredward <edward@roojs.com>
Mon, 21 Mar 2016 05:09:36 +0000 (13:09 +0800)
committeredward <edward@roojs.com>
Mon, 21 Mar 2016 05:09:36 +0000 (13:09 +0800)
Roo/bootstrap/NavSidebarItem.js

index 27057af..91370e4 100644 (file)
@@ -42,6 +42,7 @@ Roo.bootstrap.NavSidebarItem = function(config){
 
 Roo.extend(Roo.bootstrap.NavSidebarItem, Roo.bootstrap.NavItem,  {
     
+    badgeWeight : 'default',
     
     getAutoCreate : function(){
         
@@ -77,6 +78,7 @@ Roo.extend(Roo.bootstrap.NavSidebarItem, Roo.bootstrap.NavItem,  {
         a.cn.push(span);
         // then badge..
         if (this.badge !== '') {
+            
             a.cn.push({ tag: 'span',  cls : 'badge pull-right ' + (this.badgecls || ''), html: this.badge }); 
         }
         // fi