Roo/bootstrap/panel/Content.js
authoredward <edward@roojs.com>
Wed, 18 Apr 2018 08:49:02 +0000 (16:49 +0800)
committeredward <edward@roojs.com>
Wed, 18 Apr 2018 08:49:02 +0000 (16:49 +0800)
Roo/bootstrap/panel/Content.js

index 4db1d1e..cb0cca6 100644 (file)
@@ -226,7 +226,10 @@ Roo.extend(Roo.bootstrap.panel.Content, Roo.bootstrap.Component, {
         this.active = active;
         this.setActiveClass(active);
         if(!active){
-            this.fireEvent("deactivate", this);
+//            this.fireEvent("deactivate", this);
+if(!this.activePanel.setActiveState(false)){
+                return;
+            }
         }else{
             this.fireEvent("activate", this);
         }