[Rt-commit] r8009 - in rt/branches/3.6-RELEASE: .
falcone at bestpractical.com
falcone at bestpractical.com
Thu Jun 14 16:44:21 EDT 2007
Author: falcone
Date: Thu Jun 14 16:44:10 2007
New Revision: 8009
Modified:
rt/branches/3.6-RELEASE/ (props changed)
rt/branches/3.6-RELEASE/html/Ticket/Modify.html
rt/branches/3.6-RELEASE/html/Ticket/ModifyAll.html
Log:
r21941 at ketch: falcone | 2007-06-14 16:41:33 -0400
* reload the ticket after scrips run, so if one of your scrips
changes ticket data it'll be reflected in the new display
Modified: rt/branches/3.6-RELEASE/html/Ticket/Modify.html
==============================================================================
--- rt/branches/3.6-RELEASE/html/Ticket/Modify.html (original)
+++ rt/branches/3.6-RELEASE/html/Ticket/Modify.html Thu Jun 14 16:44:10 2007
@@ -73,6 +73,10 @@
my @cf_results = ProcessObjectCustomFieldUpdates(Object => $TicketObj, ARGSRef => \%ARGS);
push (@results, @cf_results);
+# undef so that TransactionBatch scrips run and update the ticket
+$TicketObj = undef;
+$TicketObj = LoadTicket($id);
+
# TODO: display the results, even if we can't display the ticket
unless ($TicketObj->CurrentUserHasRight('ShowTicket')) {
Modified: rt/branches/3.6-RELEASE/html/Ticket/ModifyAll.html
==============================================================================
--- rt/branches/3.6-RELEASE/html/Ticket/ModifyAll.html (original)
+++ rt/branches/3.6-RELEASE/html/Ticket/ModifyAll.html Thu Jun 14 16:44:10 2007
@@ -195,6 +195,10 @@
push @results, @lresults;
push @results, @cf_results;
+# undef so that TransactionBatch scrips run and update the ticket
+$TicketObj = undef;
+$TicketObj = LoadTicket($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