Pman.Dialog.CmsBlog.bjs
[Pman.Cms] / Pman.Dialog.CmsBlog.js
index 5a875aa..5beafe9 100644 (file)
@@ -338,10 +338,22 @@ Pman.Dialog.CmsBlog = {
        },
       collapsed : function (_self)
        {
-           _this.trform.reset();
-           _this.trform1.reset();
-           _this.trform2.reset();
-           _this.trform3.reset();
+           if(_this.trform){
+               _this.trform.reset();
+           }
+           
+           if(_this.trform1){
+               _this.trform1.reset();
+           }
+           
+           if(_this.trform2){
+               _this.trform2.reset();
+           }
+           
+           if(_this.trform3){
+               _this.trform3.reset();
+           }
+           
        },
       expanded : function (_self)
        {