Roo/bootstrap/layout/Region.js
authoredward <edward@roojs.com>
Wed, 18 Apr 2018 09:39:14 +0000 (17:39 +0800)
committeredward <edward@roojs.com>
Wed, 18 Apr 2018 09:39:14 +0000 (17:39 +0800)
Roo/bootstrap/layout/Region.js

index 3edc8b1..ebe7dd1 100644 (file)
@@ -521,8 +521,8 @@ Roo.extend(Roo.bootstrap.layout.Region, Roo.bootstrap.layout.Basic, {
         if(this.activePanel && this.activePanel != panel){
             if(this.activePanel.setActiveState(false) === false){
                 
-                if(this.tabItem){
-                    
+                if(this.activePanel.tabItem){
+                    this.activePanel.tabItem.tabPanel.active = this.activePanel.tabItem;
                 }
                 
                 return;