projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c239b3
)
Roo/bootstrap/MenuItem.js
author
Alan Knowles
<alan@roojs.com>
Thu, 24 Nov 2016 07:58:38 +0000
(15:58 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 24 Nov 2016 07:58:38 +0000
(15:58 +0800)
Roo/bootstrap/MenuItem.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/MenuItem.js
b/Roo/bootstrap/MenuItem.js
index
86e23c2
..
87d7677
100644
(file)
--- a/
Roo/bootstrap/MenuItem.js
+++ b/
Roo/bootstrap/MenuItem.js
@@
-67,6
+67,11
@@
Roo.extend(Roo.bootstrap.MenuItem, Roo.bootstrap.Component, {
if (this.parent().type == 'treeview') {
cfg.cls = 'treeview-menu';
}
+ if (this.active) {
+ cfg.cls += ' active';
+ }
+
+
cfg.cn[0].href = this.href || cfg.cn[0].href ;
cfg.cn[0].html = this.html || cfg.cn[0].html ;