projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dce2edd
)
Roo/bootstrap/dash/TabBox.js
author
Alan Knowles
<alan@roojs.com>
Fri, 30 Jan 2015 07:52:36 +0000
(15:52 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 30 Jan 2015 07:52:36 +0000
(15:52 +0800)
Roo/bootstrap/dash/TabBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/dash/TabBox.js
b/Roo/bootstrap/dash/TabBox.js
index
1ce16f1
..
09da5c0
100644
(file)
--- a/
Roo/bootstrap/dash/TabBox.js
+++ b/
Roo/bootstrap/dash/TabBox.js
@@
-130,7
+130,12
@@
Roo.extend(Roo.bootstrap.dash.TabBox, Roo.bootstrap.Component, {
pane.tab.addClass('active');
//Roo.log(pane.title);
this.getChildContainer().select('.tab-pane',true).removeClass('active');
+ // technically we should have a deactivate event.. but maybe add later.
+ // and it should not de-activate the selected tab...
+
pane.el.addClass('active');
+ pane.fireEvent('activate');
+
}