diff --git a/admin/javascript/LeftAndMain.Panel.js b/admin/javascript/LeftAndMain.Panel.js index 0898dac80..ad9a7312d 100644 --- a/admin/javascript/LeftAndMain.Panel.js +++ b/admin/javascript/LeftAndMain.Panel.js @@ -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(); },