Attached is my diff for Display.html. It should allow
the callback to start working again.
-Todd
--- html/Ticket/Display.html (revision 8005)
+++ html/Ticket/Display.html (local)
@@ -148,6 +148,9 @@
push (@Actions, @BasicActions, @results);
}
+$m->comp('/Elements/Callback', _CallbackName => 'BeforeDisplay',
+ TicketObj => \$TicketObj, Tickets => \$Tickets, ARGSRef => \%ARGS,
Actions => [EMAIL PROTECTED] );
+
# This code does automatic redirection if any updates happen.
if (@Actions) {
@@ -161,10 +164,7 @@
delete $session{"Actions"};
}
-$m->comp('/Elements/Callback', _CallbackName => 'BeforeDisplay',
- TicketObj => \$TicketObj, Tickets => \$Tickets, ARGSRef => \%ARGS);
-
my $attachments = $m->comp('Elements/FindAttachments', Ticket => $TicketObj,
Tickets => $Tickets);
my $attachment_content = $m->comp('Elements/LoadTextAttachments', Ticket =>
$TicketObj);
=== html/Ticket/Display.html
==================================================================
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
We're hiring! Come hack Perl for Best Practical:
http://bestpractical.com/about/jobs.html