[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.18rc1-2-gb9cb82b
Alex Vandiver
alexmv at bestpractical.com
Fri Oct 4 00:07:20 EDT 2013
The branch, 4.0-trunk has been updated
via b9cb82bf28b1e5e9b4a22c772bf619a824de345f (commit)
via f87a39ce4b4e3824f4cc3730751aa539295e63f6 (commit)
from e775cc6ca3824f57a2053811ccf1fbfb68e1099b (commit)
Summary of changes:
share/html/Ticket/Update.html | 7 +++++++
1 file changed, 7 insertions(+)
- Log -----------------------------------------------------------------
commit f87a39ce4b4e3824f4cc3730751aa539295e63f6
Author: Matthew Horsfall <wolfsage at gmail.com>
Date: Thu Sep 26 08:22:42 2013 -0400
Allow for a few more callbacks on the ticket Update page.
- Most importantly, putting things after all of the existing elements.
diff --git a/share/html/Ticket/Update.html b/share/html/Ticket/Update.html
index 4ab92d9..d67bba0 100644
--- a/share/html/Ticket/Update.html
+++ b/share/html/Ticket/Update.html
@@ -189,6 +189,8 @@
<& /Elements/Submit, Label => loc('Update Ticket'), Name => 'SubmitTicket', id => 'SubmitTicket' &>
+% $m->callback( %ARGS, CallbackName => 'BeforeScrips', Ticket => $TicketObj );
+
% if ($TicketObj->CurrentUserHasRight('ShowOutgoingEmail')) {
<&|/Widgets/TitleBox, title => loc('Scrips and Recipients'), id => 'previewscrips', rolledup => RT->Config->Get('SimplifiedRecipients', $session{'CurrentUser'}) &>
<& /Ticket/Elements/PreviewScrips, TicketObj => $TicketObj, %ARGS &>
@@ -196,12 +198,17 @@
% }
</div>
+% $m->callback( %ARGS, CallbackName => 'AfterScrips', Ticket => $TicketObj );
+
% if (my $recips = $m->notes("DryRun-Recipients-".$TicketObj->Id)) {
<input type="hidden" name="TxnRecipients" value="<% join ",",sort keys %{$recips} %>" />
% }
</form>
<hr class="clear" />
+
+% $m->callback( %ARGS, CallbackName => 'AfterForm', Ticket => $TicketObj );
+
<%INIT>
my $CanRespond = 0;
my $CanComment = 0;
commit b9cb82bf28b1e5e9b4a22c772bf619a824de345f
Merge: e775cc6 f87a39c
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Thu Oct 3 23:58:49 2013 -0400
Merge branch '4.0/ticket-update-callbacks' into 4.0-trunk
Closes github pull request #67
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list