[Rt-commit] rt branch, 4.0/clean-jumbo-message-box, created. rt-4.0.7-58-g55edaf5
Ruslan Zakirov
ruz at bestpractical.com
Wed Sep 5 10:05:56 EDT 2012
The branch, 4.0/clean-jumbo-message-box has been created
at 55edaf59e474c2dbc8b2a1c5f47348f1d8c60a7c (commit)
- Log -----------------------------------------------------------------
commit 55edaf59e474c2dbc8b2a1c5f47348f1d8c60a7c
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Wed Mar 2 14:52:50 2011 +0300
self-redirect Jumbo page after update
If we don't do this then message box contains
previous message and submiting the form will
result in a duplicated message.
Sure, without this change refresh resubmits
previous request.
diff --git a/share/html/Ticket/ModifyAll.html b/share/html/Ticket/ModifyAll.html
index 8619cd5..9c20e80 100755
--- a/share/html/Ticket/ModifyAll.html
+++ b/share/html/Ticket/ModifyAll.html
@@ -214,6 +214,12 @@ unless ($OnlySearchForPeople or $OnlySearchForGroup or $ARGS{'AddMoreAttach'} )
$Ticket->ApplyTransactionBatch;
+MaybeRedirectForResults(
+ Actions => \@results,
+ Path => "/Ticket/ModifyAll.html",
+ Arguments => { id => $Ticket->id },
+);
+
# If they've gone and moved the ticket to somewhere they can't see, etc...
# TODO: display the results, even if we can't display the ticket.
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list