projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76e0cf6
)
Roo/bootstrap/TabPanel.js
author
Alan Knowles
<alan@roojs.com>
Wed, 4 Feb 2015 01:59:31 +0000
(09:59 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 4 Feb 2015 01:59:31 +0000
(09:59 +0800)
Roo/bootstrap/TabPanel.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/TabPanel.js
b/Roo/bootstrap/TabPanel.js
index
7231340
..
df86f1e
100644
(file)
--- a/
Roo/bootstrap/TabPanel.js
+++ b/
Roo/bootstrap/TabPanel.js
@@
-78,7
+78,10
@@
Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, {
// tabgroup.
var p = this.parent();
if (typeof(p.navId) != 'undefined') {
-
+ // not really needed.. but just in case.. parent should be a NavGroup.
+ var tg = Roo.bootstrap.TabGroup.get(p.navId);
+ this.navId = this.navId || p.navId;
+ tg.register(this);
}