projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0042e7
)
Roo/bootstrap/dash/TabBox.js
author
Alan Knowles
<alan@roojs.com>
Fri, 30 Jan 2015 04:34:50 +0000
(12:34 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 30 Jan 2015 04:34:50 +0000
(12:34 +0800)
Roo/bootstrap/dash/TabBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/dash/TabBox.js
b/Roo/bootstrap/dash/TabBox.js
index
00f697d
..
67e4226
100644
(file)
--- a/
Roo/bootstrap/dash/TabBox.js
+++ b/
Roo/bootstrap/dash/TabBox.js
@@
-115,6
+115,10
@@
Roo.extend(Roo.bootstrap.dash.TabBox, Roo.bootstrap.Component, {
pane.tab = tab;
tab.on('click', this.onTabClick.createDelegate(this, [pane], true));
+ if (!qty) {
+ pane.el.addClass('active');
+ }
+
},
onTabClick : function(ev,un,ob,pane)