[Rt-commit] rt branch, 4.4/add-callbacks-ticket-forward, created. rt-4.4.4-45-g1599c75f8
Blaine Motsinger
blaine at bestpractical.com
Wed Jun 26 19:28:34 EDT 2019
The branch, 4.4/add-callbacks-ticket-forward has been created
at 1599c75f833aa1028a7ffbac60bd0db1f1fa42bd (commit)
- Log -----------------------------------------------------------------
commit 1599c75f833aa1028a7ffbac60bd0db1f1fa42bd
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Mon Jun 17 13:43:42 2019 -0500
Add callbacks to Forward.html
This commit adds Initial and AfterMessageBox callbacks.
diff --git a/share/html/Ticket/Forward.html b/share/html/Ticket/Forward.html
index 01be31ef5..7e81b0c37 100644
--- a/share/html/Ticket/Forward.html
+++ b/share/html/Ticket/Forward.html
@@ -94,6 +94,8 @@
</td>
</tr>
+% $m->callback(CallbackName => 'AfterMessageBox', ARGSRef => \%ARGS, TicketObj => $TicketObj);
+
</table>
<& /Ticket/Elements/ShowAttachments, Ticket => $TicketObj, Attachments => $attachments, Count => RT->Config->Get('AttachmentListCount') &>
@@ -108,6 +110,8 @@ my $checks_failure = 0;
my $TicketObj = LoadTicket($id);
$id = $ARGS{'id'} = $TicketObj->id;
+$m->callback(CallbackName => 'Initial', ARGSRef => \%ARGS, TicketObj => $TicketObj);
+
my $gnupg_widget = $m->comp('/Elements/Crypt/SignEncryptWidget:new', Arguments => \%ARGS );
$m->comp( '/Elements/Crypt/SignEncryptWidget:Process',
self => $gnupg_widget,
-----------------------------------------------------------------------
More information about the rt-commit
mailing list