projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c11d0ee
)
Roo/bootstrap/NavSidebarItem.js
author
edward
<edward@roojs.com>
Tue, 27 Feb 2018 03:39:42 +0000
(11:39 +0800)
committer
edward
<edward@roojs.com>
Tue, 27 Feb 2018 03:39:42 +0000
(11:39 +0800)
Roo/bootstrap/NavSidebarItem.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NavSidebarItem.js
b/Roo/bootstrap/NavSidebarItem.js
index
055bef9
..
69573bb
100644
(file)
--- a/
Roo/bootstrap/NavSidebarItem.js
+++ b/
Roo/bootstrap/NavSidebarItem.js
@@
-106,13
+106,14
@@
Roo.extend(Roo.bootstrap.NavSidebarItem, Roo.bootstrap.NavItem, {
};
a.cn.push(span);
+
+ if (this.badge !== '') {
+ a.cn.push({ tag: 'span', cls : 'badge pull-right badge-' + this.badgeWeight, html: this.badge });
+ }
}
// then badge..
- if (this.badge !== '') {
-
- a.cn.push({ tag: 'span', cls : 'badge pull-right badge-' + this.badgeWeight, html: this.badge });
- }
+
// fi
if (this.menu) {
a.cn.push({ tag : 'i', cls : 'glyphicon glyphicon-chevron-down pull-right'});