projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edabc2f
)
Roo/LayoutRegion.js
author
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 09:52:45 +0000
(17:52 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 09:52:45 +0000
(17:52 +0800)
Roo/LayoutRegion.js
patch
|
blob
|
history
diff --git
a/Roo/LayoutRegion.js
b/Roo/LayoutRegion.js
index
1c58c6a
..
2862553
100644
(file)
--- a/
Roo/LayoutRegion.js
+++ b/
Roo/LayoutRegion.js
@@
-332,8
+332,12
@@
Roo.extend(Roo.LayoutRegion, Roo.BasicLayoutRegion, {
* @param {Boolean} skipAnim (optional) true to expand the element without animation (if animate is true)
*/
expand : function(e, skipAnim){
- if(e) e.stopPropagation();
- if(!this.collapsed || this.el.hasActiveFx()) return;
+ if(e) {
+ e.stopPropagation();
+ }
+ if(!this.collapsed || this.el.hasActiveFx()) {
+ return;
+ }
if(this.isSlid){
this.afterSlideIn();
skipAnim = true;