[Rt-commit] r6034 - in rt/branches/3.6-RELEASE: .
jesse at bestpractical.com
jesse at bestpractical.com
Mon Sep 25 22:31:12 EDT 2006
Author: jesse
Date: Mon Sep 25 22:31:11 2006
New Revision: 6034
Modified:
rt/branches/3.6-RELEASE/ (props changed)
rt/branches/3.6-RELEASE/html/Ticket/Display.html
Log:
r27827 at pinglin: jesse | 2006-09-25 22:30:55 -0400
* New callback 'BeforeShowSummary' on ticket display; handling of people changes on ticket display
Modified: rt/branches/3.6-RELEASE/html/Ticket/Display.html
==============================================================================
--- rt/branches/3.6-RELEASE/html/Ticket/Display.html (original)
+++ rt/branches/3.6-RELEASE/html/Ticket/Display.html Mon Sep 25 22:31:11 2006
@@ -51,7 +51,7 @@
Title => loc("#[_1]: [_2]", $TicketObj->Id, $TicketObj->Subject) &>
<& /Elements/ListActions, actions => \@Actions &>
-
+<& /Elements/Callback, _CallbackName => 'BeforeShowSummary', Ticket => $TicketObj, %ARGS &>
<&| /Widgets/TitleBox, title => loc('Ticket metadata') &>
<& /Ticket/Elements/ShowSummary, Ticket => $TicketObj, Attachments => $attachments &>
</&>
@@ -147,10 +147,11 @@
delete $session{'Attachments'};
}
#Process status updates
+ my @PeopleActions = ProcessTicketWatchers(ARGSRef => \%ARGS, TicketObj=>$TicketObj);
my @BasicActions = ProcessTicketBasics(ARGSRef => \%ARGS, TicketObj=>$TicketObj);
my @results = ProcessTicketLinks( TicketObj => $TicketObj, ARGSRef => \%ARGS);
- push (@Actions, @BasicActions, @results);
+ push (@Actions, @PeopleActions, @BasicActions, @results);
}
# This code does automatic redirection if any updates happen.
More information about the Rt-commit
mailing list