projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a0118a
)
Roo/bootstrap/TabPanel.js
author
Alan Knowles
<alan@roojs.com>
Wed, 4 Feb 2015 01:58:30 +0000
(09:58 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 4 Feb 2015 01:58:30 +0000
(09:58 +0800)
Roo/bootstrap/TabPanel.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/TabPanel.js
b/Roo/bootstrap/TabPanel.js
index
939b05a
..
7231340
100644
(file)
--- a/
Roo/bootstrap/TabPanel.js
+++ b/
Roo/bootstrap/TabPanel.js
@@
-64,6
+64,7
@@
Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, {
Roo.bootstrap.TabPanel.superclass.onRender.call(this, ct, position);
+ // registration with navgroups..
if (this.navId && this.tabId) {
var item = Roo.bootstrap.NavGroup.get(this.navId).getNavItem(this.tabId);
if (!item) {
@@
-74,6
+75,12
@@
Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, {
}, this);
}
}
+ // tabgroup.
+ var p = this.parent();
+ if (typeof(p.navId) != 'undefined') {
+
+ }
+
},
setActive: function(state)