projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d31d5dc
)
Roo/bootstrap/TabGroup.js
author
edward
<edward@roojs.com>
Wed, 27 Apr 2016 04:38:09 +0000
(12:38 +0800)
committer
edward
<edward@roojs.com>
Wed, 27 Apr 2016 04:38:09 +0000
(12:38 +0800)
Roo/bootstrap/TabGroup.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/TabGroup.js
b/Roo/bootstrap/TabGroup.js
index
c23ce6a
..
d634730
100644
(file)
--- a/
Roo/bootstrap/TabGroup.js
+++ b/
Roo/bootstrap/TabGroup.js
@@
-184,12
+184,15
@@
Roo.extend(Roo.bootstrap.TabGroup, Roo.bootstrap.Column, {
if (typeof(pan) == 'number') {
pan = this.tabs[pan];
}
+
if (typeof(pan) == 'string') {
pan = this.getPanelByName(pan);
}
+
if (pan.tabId == this.getActivePanel().tabId) {
return true;
}
+
var cur = this.getActivePanel();
if (false === cur.fireEvent('beforedeactivate')) {