projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b863f7
)
Roo/bootstrap/NavGroup.js
author
Alan Knowles
<alan@roojs.com>
Thu, 24 Jan 2019 09:28:15 +0000
(17:28 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 24 Jan 2019 09:28:15 +0000
(17:28 +0800)
Roo/bootstrap/NavGroup.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NavGroup.js
b/Roo/bootstrap/NavGroup.js
index
ac8fdfb
..
b231b3a
100644
(file)
--- a/
Roo/bootstrap/NavGroup.js
+++ b/
Roo/bootstrap/NavGroup.js
@@
-62,8
+62,12
@@
Roo.extend(Roo.bootstrap.NavGroup, Roo.bootstrap.Component, {
cfg.cls += ' nav-' + this.type;
} else {
// trying to remove so header bar can right align top?
- //cfg.cls += ' navbar-nav';
+ if (this.parent() && this.parent().xtype != 'NavHeaderbar') {
+ // do not use on header bar...
+ cfg.cls += ' navbar-nav';
+ }
}
+
} else {
if (['tabs','pills'].indexOf(this.type) != -1) {
cfg.cls += ' nav-' + this.type