From 44b2295504f80cae5126275a2a10f0767f2166db Mon Sep 17 00:00:00 2001 From: edward Date: Wed, 18 Apr 2018 16:49:02 +0800 Subject: [PATCH] Roo/bootstrap/panel/Content.js --- Roo/bootstrap/panel/Content.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/panel/Content.js b/Roo/bootstrap/panel/Content.js index 4db1d1eb18..cb0cca6348 100644 --- a/Roo/bootstrap/panel/Content.js +++ b/Roo/bootstrap/panel/Content.js @@ -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); } -- 2.39.2