},
collapsed : function (_self)
{
- if(_this.trform){
+ if(_this.trform && _this.trform.isDirty()){
_this.trform.reset();
Roo.log('reset trform');
}
- if(_this.trform1){
+ if(_this.trform1 && _this.trform1.isDirty()){
_this.trform1.reset();
Roo.log('reset trform1');
}
- if(_this.trform2){
+ if(_this.trform2 && _this.trform2.isDirty()){
_this.trform2.reset();
Roo.log('reset trform2');
}
- if(_this.trform3){
+ if(_this.trform3 && _this.trform3.isDirty()){
_this.trform3.reset();
Roo.log('reset trform3');
}