projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a34d07a
)
Roo/bootstrap/NavItem.js
author
Alan Knowles
<alan@roojs.com>
Tue, 10 Mar 2015 07:12:58 +0000
(15:12 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 10 Mar 2015 07:12:58 +0000
(15:12 +0800)
Roo/bootstrap/NavItem.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NavItem.js
b/Roo/bootstrap/NavItem.js
index
b19fcfa
..
a556d1f
100644
(file)
--- a/
Roo/bootstrap/NavItem.js
+++ b/
Roo/bootstrap/NavItem.js
@@
-152,7
+152,10
@@
Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component, {
}
}
// if parent is a navbarheader....
-
+ if (p.parentType == 'NavHeaderbar' && !this.menu) {
+ // remove the collapsed menu expand...
+ p.parent().el.select('.navbar-collapse',true).toggleClass('in');
+ }
},