Commit 747a6150 authored by Kevin Falcone's avatar Kevin Falcone
Browse files

Make "Jump to unread" work

Without this and 4.0/updatestatus-displaypath, Jump to unread will link
to /Ticket/Display.html?id=7#txn-id=foo but during the redirect to
/RTIR/Display.html the anchor is lost and the page never moves.  You can
click the link all you want.

Mark as read and jump works because it passes the Anchor in an argument
which is respected in MaybeRedirectForResults.
parent c8277b52
......@@ -51,7 +51,7 @@
% $m->callback(CallbackName => 'BeforeActionList', %ARGS, Actions => \@results, ARGSRef => \%ARGS, Ticket => $Ticket);
<& /Elements/ListActions, actions => \@results &>
<& /Ticket/Elements/ShowUpdateStatus, Ticket => $Ticket &>
<& /Ticket/Elements/ShowUpdateStatus, Ticket => $Ticket, DisplayPath => 'RTIR' &>
<div class="summary"><&| /Widgets/TitleBox, title => loc('Ticket metadata') &>
......
......@@ -50,7 +50,7 @@
% $m->callback(CallbackName => 'BeforeActionList', %ARGS, Actions => \@results, ARGSRef => \%ARGS, Ticket => $TicketObj);
<& /Elements/ListActions, actions => \@results &>
<& /Ticket/Elements/ShowUpdateStatus, Ticket => $TicketObj &>
<& /Ticket/Elements/ShowUpdateStatus, Ticket => $TicketObj, DisplayPath => 'RTIR' &>
<div class="summary"><&| /Widgets/TitleBox, title => loc('Ticket metadata') &>
<table class="ticket-summary" width="100%"><tr><td class="boxcontainer" valign="top">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment