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

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