projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
248c09a
)
Roo/bootstrap/panel/Content.js
author
edward
<edward@roojs.com>
Wed, 18 Apr 2018 08:50:29 +0000
(16:50 +0800)
committer
edward
<edward@roojs.com>
Wed, 18 Apr 2018 08:50:29 +0000
(16:50 +0800)
Roo/bootstrap/panel/Content.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/panel/Content.js
b/Roo/bootstrap/panel/Content.js
index
cb0cca6
..
1d8b832
100644
(file)
--- a/
Roo/bootstrap/panel/Content.js
+++ b/
Roo/bootstrap/panel/Content.js
@@
-226,10
+226,12
@@
Roo.extend(Roo.bootstrap.panel.Content, Roo.bootstrap.Component, {
this.active = active;
this.setActiveClass(active);
if(!active){
-// this.fireEvent("deactivate", this);
-
if(!this.activePanel.setActiveState(false
)){
- return;
+
+
if(!this.fireEvent("deactivate", this
)){
+ return
false
;
}
+
+ return true;
}else{
this.fireEvent("activate", this);
}