projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
roojs-core.js
[roojs1]
/
Roo
/
LayoutRegion.js
diff --git
a/Roo/LayoutRegion.js
b/Roo/LayoutRegion.js
index
13b9087
..
55a88b2
100644
(file)
--- a/
Roo/LayoutRegion.js
+++ b/
Roo/LayoutRegion.js
@@
-302,12
+302,12
@@
Roo.extend(Roo.LayoutRegion, Roo.BasicLayoutRegion, {
* Collapses this region.
* @param {Boolean} skipAnim (optional) true to collapse the element without animation (if animate is true)
*/
* Collapses this region.
* @param {Boolean} skipAnim (optional) true to collapse the element without animation (if animate is true)
*/
- collapse : function(skipAnim){
+ collapse : function(skipAnim
, skipCheck
){
if(this.collapsed) {
return;
}
if(this.collapsed) {
return;
}
- if(this.fireEvent("beforecollapse", this) != false){
+ if(
skipCheck ||
this.fireEvent("beforecollapse", this) != false){
this.collapsed = true;
if(this.split){
this.collapsed = true;
if(this.split){