projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6210c6
)
Roo/bootstrap/Navbar/Item.js
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Jul 2014 08:17:18 +0000
(16:17 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Jul 2014 08:17:18 +0000
(16:17 +0800)
Roo/bootstrap/Navbar/Item.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Navbar/Item.js
b/Roo/bootstrap/Navbar/Item.js
index
d19352f
..
18dfe1a
100644
(file)
--- a/
Roo/bootstrap/Navbar/Item.js
+++ b/
Roo/bootstrap/Navbar/Item.js
@@
-185,7
+185,6
@@
Roo.extend(Roo.bootstrap.Navbar.Item, Roo.bootstrap.Component, {
- this.onTabsClick(e);
}
},
@@
-205,23
+204,9
@@
Roo.extend(Roo.bootstrap.Navbar.Item, Roo.bootstrap.Component, {
}
- },
- // this should not be here...
-
- onTabsClick : function(e)
- {
-
- if(this.href && this.href.substring(0,1) == '#'){
- var tab = Roo.select('[tabId=' + this.href + ']', true).first();
-
- Roo.each(tab.findParent('.tab-content', 0, true).select('.active', true).elements, function(v){
- v.removeClass('active');
- });
-
- tab.addClass('active');
- }
}
-
+ // this should not be here...
+
});