projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1e5362
)
Roo/bootstrap/NavSidebarItem.js
author
edward
<edward@roojs.com>
Mon, 21 Mar 2016 05:09:36 +0000
(13:09 +0800)
committer
edward
<edward@roojs.com>
Mon, 21 Mar 2016 05:09:36 +0000
(13:09 +0800)
Roo/bootstrap/NavSidebarItem.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NavSidebarItem.js
b/Roo/bootstrap/NavSidebarItem.js
index
27057af
..
91370e4
100644
(file)
--- a/
Roo/bootstrap/NavSidebarItem.js
+++ b/
Roo/bootstrap/NavSidebarItem.js
@@
-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