[Rt-commit] r3351 - in rt/branches/3.5-TESTING: . html/Ticket
jesse at bestpractical.com
jesse at bestpractical.com
Sun Jul 3 18:56:28 EDT 2005
Author: jesse
Date: Sun Jul 3 18:56:27 2005
New Revision: 3351
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/Ticket/Display.html
Log:
r22205 at hualien: jesse | 2005-07-03 18:23:01 -0400
r22129 at hualien: jesse | 2005-07-03 17:47:23 -0400
r20551 at hualien: jesse | 2005-06-15 16:12:50 -0400
* Reenabled testing redirect on article update
Modified: rt/branches/3.5-TESTING/html/Ticket/Display.html
==============================================================================
--- rt/branches/3.5-TESTING/html/Ticket/Display.html (original)
+++ rt/branches/3.5-TESTING/html/Ticket/Display.html Sun Jul 3 18:56:27 2005
@@ -147,17 +147,16 @@
# This code does automatic redirection if any updates happen.
# It doesn't work for the client.
-if (0) {
-$RT::Logger->crit("About to check for actions");
+$RT::Logger->crit("About to check for actions to prepare for a redirect");
if (@Actions) {
$RT::Logger->crit("We have actions. time to redirect");
# We've done something, so we need to clear the decks to avoid
# resubmission on refresh.
# But we need to store Actions somewhere too, so we don't lose them.
$session{"Actions"} = \@Actions;
- $m->redirect($RT::WebPath."/Ticket/Display.html?id=".$TicketObj->id);
+ $m->redirect($RT::WebURL."/Ticket/Display.html?id=".$TicketObj->id);
$RT::Logger->crit("Set up the redirect");
$m->abort();
$RT::Logger->crit("Aborted. Should never be called");
@@ -169,7 +168,6 @@
$RT::Logger->crit("We're past the point where any redirect happens");
-}
$m->comp('/Elements/Callback', _CallbackName => 'BeforeDisplay',
TicketObj => \$TicketObj, Tickets => \$Tickets, ARGSRef => \%ARGS);
More information about the Rt-commit
mailing list