Active trail class getting set based on a disabled menu item
Justin W Freeman - November 13, 2009 - 03:36
| Project: | Nice Menus |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I have had a problem with the active-trail class appearing on menu items it shouldn't.
I have a menu parent with a child menu item that is
The menu item is disabled but when I go to the front page the parent menu is given the active-trail class anyway.
Disabled menu items should not be checked when looking to mark the active trail.

#1
Oops, I put the front tag in and it got filtered, here is my bug report again:
I have had a problem with the active-trail class appearing on menu items it shouldn't.
I have a menu parent with a child menu item that links to the front page
The front page menu item is disabled but when I go to the front page the parent menu is given the active-trail class anyway.
Disabled menu items should not be checked when looking to mark the active trail.