6.0.0-alpha10
5/17/25

[#6171] Menu item "Print" is incorrectly styled as "current"
Summary Menu item "Print" is incorrectly styled as "current"
Queue Nag
Queue Version 2.1.4
Type Bug
State Resolved
Priority 1. Low
Owners
Requester morgan (at) orst (dot) edu
Created 01/29/2008 (6318 days ago)
Due
Updated 01/29/2008 (6318 days ago)
Assigned
Resolved 01/29/2008 (6318 days ago)
Milestone
Patch No

History
01/29/2008 07:12:02 PM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
This has been fixed in the current versions of Nag (2.2 RCs if not earlier).
01/29/2008 07:10:20 PM morgan (at) orst (dot) edu Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Menu item "Print" is incorrectly styled as "current"
Queue ⇒ Nag
Reply to this comment
When you click on the "List Tasks" menu item in Nag, it changes the 
CSS class to "current" (button depressed) for the "Print" menu item as 
well.  This happens because the isSelected test on the url returns 
true (both items have a base url of nag/list.php).  I'm not sure what 
the correct fix is, but I think adding a '__noselection' argument to 
the print link's $menu->add() will work.

Saved Queries