This bug appears with the upgrade from 7.x-2.0 to 7.x-2.1.

If I have a menu link and all of the child menu links beneath it are disabled, nice_menus will render an empty <ul> beneath the parent component.

If I were to theme background images as part of the menu system (as in this example http://www.planetaryskin.org), the empty <ul> will render pieces of the background image, as in the first attached screenshot.

Nice menus 2.1 also renders the parent link as a menuparent, even when there are no accessible child links below it. That means that an expand arrow will appear, even when the parent link can't be expanded. This is visible in the second attached screenshot.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pawel.traczynski’s picture

I also confirm this bug. When under one parent all it's child elements are disabled nice_menus creates for that parent child <ul> container which has no <li>'s inside.

apaderno’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
Issue summary: View changes