Merge pull request #383 from adrexia/7210-close-filter-panel-default

ENHANCEMENT: Close filter panel(Track#7210)
This commit is contained in:
Sean Harvey 2012-04-30 18:44:08 -07:00
commit befc80676d

View File

@ -56,7 +56,13 @@
if(typeof cookieCollapsed != 'undefined' && cookieCollapsed != null) collapsed = (cookieCollapsed == 'true');
}
if(typeof collapsed == 'undefined') collapsed = jQuery(this).hasClass('collapsed');
this.togglePanel(!collapsed, true);
//Set the filter to be closed
if (this.hasClass('filter')) {
this.togglePanel(collapsed, true);
} else {
this.togglePanel(!collapsed, true);
}
this._super();
},