projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0513a79
)
Roo/bootstrap/TabPanel.js
author
Alan Knowles
<alan@roojs.com>
Thu, 5 Feb 2015 02:40:02 +0000
(10:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 5 Feb 2015 02:40:02 +0000
(10:40 +0800)
Roo/bootstrap/TabPanel.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/TabPanel.js
b/Roo/bootstrap/TabPanel.js
index
01f7ee9
..
c8a08eb
100644
(file)
--- a/
Roo/bootstrap/TabPanel.js
+++ b/
Roo/bootstrap/TabPanel.js
@@
-93,6
+93,13
@@
Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, {
Roo.log("could not find navID:" + this.navId + ", tabId: " + this.tabId);
} else {
item.on('changed', function(item, state) {
+ var tg = Roo.bootstrap.TabGroup.get(this.navId);
+ if (tg) {
+ if (state) {
+ tg.showPanel(this)
+ }
+ return;
+ }
this.setActive(state);
}, this);
}