projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f03898
)
Roo/bootstrap/layout/Region.js
author
edward
<edward@roojs.com>
Wed, 18 Apr 2018 09:40:21 +0000
(17:40 +0800)
committer
edward
<edward@roojs.com>
Wed, 18 Apr 2018 09:40:21 +0000
(17:40 +0800)
Roo/bootstrap/layout/Region.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/layout/Region.js
b/Roo/bootstrap/layout/Region.js
index
98d6f43
..
6db5574
100644
(file)
--- a/
Roo/bootstrap/layout/Region.js
+++ b/
Roo/bootstrap/layout/Region.js
@@
-522,6
+522,11
@@
Roo.extend(Roo.bootstrap.layout.Region, Roo.bootstrap.layout.Basic, {
if(this.activePanel.setActiveState(false) === false){
if(this.activePanel.tabItem){
+
+ if(this.activePanel.tabItem.tabPanel.active){
+ this.active.hide();
+ }
+
this.activePanel.tabItem.tabPanel.active = this.activePanel.tabItem;
this.activePanel.tabItem.pnode.addClass("active");
}