projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a4fa88
)
Roo/bootstrap/dash/TabBox.js
author
Edward
<edward@roojs.com>
Thu, 2 Apr 2015 03:45:34 +0000
(11:45 +0800)
committer
Edward
<edward@roojs.com>
Thu, 2 Apr 2015 03:45:34 +0000
(11:45 +0800)
Roo/bootstrap/dash/TabBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/dash/TabBox.js
b/Roo/bootstrap/dash/TabBox.js
index
1665cc1
..
ac2a931
100644
(file)
--- a/
Roo/bootstrap/dash/TabBox.js
+++ b/
Roo/bootstrap/dash/TabBox.js
@@
-165,7
+165,12
@@
Roo.extend(Roo.bootstrap.dash.TabBox, Roo.bootstrap.Component, {
{
var r = false;
Roo.each(this.panes, function(p) {
- Roo.log(p);
+ if(p.el.hasClass('active')){
+ r = p;
+ return false;
+ }
+
+ return;
});
return r;