Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5518 closed defect (fixed)

Plugin breaks mainnav - newticket entry

Reported by: terje Owned by: Vladislav Naumov
Priority: normal Component: CcSelectorPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

With this plugin enabled, active navigation item is no longer detected correctly for /newticket (ie the menu button is not hilighted when active, it stays white as if another button was clicked)

Attached screenshots are from an installation with no other plugins installed.

Running 0.11.5stable-r8357 on Apache2/mod_wsgi 2.5, python 2.5.2 (r252:60911), Genshi 0.5.1.

Attachments (2)

with_plugin.jpg (152.1 KB) - added by terje 8 years ago.
Shows the inactive newticket button with plugin
without_plugin.jpg (151.7 KB) - added by terje 8 years ago.
Shows the correct rendering of button, without plugin

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by terje

Attachment: with_plugin.jpg added

Shows the inactive newticket button with plugin

Changed 8 years ago by terje

Attachment: without_plugin.jpg added

Shows the correct rendering of button, without plugin

comment:1 Changed 8 years ago by Vladislav Naumov

Resolution: fixed
Status: newclosed

(In [6307]) Moved add_script from pre_process_request to post_process_request (fixes #5518)

comment:2 Changed 8 years ago by Vladislav Naumov

Thanks for a great bug report!

Issue fixed in revision 6307, test it and reopen this ticket if it doesn't work for you.

Modify Ticket

Action
as closed The owner will remain Vladislav Naumov.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.