MINOR Collapsing filter breaks the main navigation (SSF-108)

This commit is contained in:
Normann Lou 2012-02-02 13:12:08 +13:00 committed by Ingo Schommer
parent deee8a294a
commit 80a08aab60

View File

@ -92,7 +92,8 @@
togglePanel: function(bool) {
//apply or unapply the flyout formatting
//apply or unapply the flyout formatting, should only apply to cms-menu-list when the current collapsed panal is the cms menu.
if($(this).attr('id') == 'cms-menu'){
$('.cms-menu-list').children('li').each(function(){
if (bool) { //expand
$(this).children('ul').each(function() {
@ -113,7 +114,7 @@
});
this.toggleFlyoutState(bool);
}
this.toggleClass('collapsed', !bool);
var newWidth = bool ? this.getWidthExpanded() : this.getWidthCollapsed();