projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5323406
)
Roo/bootstrap/Navbar/Item.js
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Jul 2014 07:53:41 +0000
(15:53 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Jul 2014 07:53:41 +0000
(15:53 +0800)
Roo/bootstrap/Navbar/Item.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Navbar/Item.js
b/Roo/bootstrap/Navbar/Item.js
index
f3dd902
..
140d3a3
100644
(file)
--- a/
Roo/bootstrap/Navbar/Item.js
+++ b/
Roo/bootstrap/Navbar/Item.js
@@
-170,12
+170,11
@@
Roo.extend(Roo.bootstrap.Navbar.Item, Roo.bootstrap.Component, {
};
if (['tabs','pills'].indexOf(this.parent().type)!==-1) {
+ if (typeof(this.parent().setActive) !== 'undefined') {
+ this.parent().setActive(this);
+ }
+
- Roo.each(this.parent().el.select('.active',true).elements, function(v){
- v.removeClass('active');
- });
-
- this.el.addClass('active');
this.onTabsClick(e);
}