Pman.Dialog.CmsBlog.bjs
[Pman.Cms] / Pman.Dialog.CmsBlog.js
index 2e54750..34a4c3d 100644 (file)
@@ -334,7 +334,10 @@ Pman.Dialog.CmsBlog = {
        },
       collapsed : function (_self)
        {
-           
+           _this.trform.reset();
+           _this.trform1.reset();
+           _this.trform2.reset();
+           _this.trform3.reset();
        },
       expanded : function (_self)
        {
@@ -895,11 +898,6 @@ Pman.Dialog.CmsBlog = {
                      
                      //_this.form.findField('category_page_id').fieldEl.select('label',true).first().dom.innerHTML = 'Category';
                      
-                     _this.trform.reset();
-                     _this.trform1.reset();
-                     _this.trform2.reset();
-                     _this.trform3.reset();
-                     
                      if ( _this.data.id) {
                          _this.dialog.el.mask("Loading");
                          this.load({ method: 'GET', params: { '_id' : _this.data.id, '_with_primary_image' : 1 }});