[Rt-commit] rtir branch, 4.0/add-callbacks-to-CreateInRTIRModal, created. 4.0.1rc1-87-gc69496b4
Craig Kaiser
craig at bestpractical.com
Tue Nov 20 16:57:29 EST 2018
The branch, 4.0/add-callbacks-to-CreateInRTIRModal has been created
at c69496b464c3e0b7e2704f0aa2ebb8ad3522e211 (commit)
- Log -----------------------------------------------------------------
commit c69496b464c3e0b7e2704f0aa2ebb8ad3522e211
Author: Craig Kaiser <craig at bestpractical.com>
Date: Mon Nov 19 17:13:24 2018 -0500
Add callbacks to CreateInRTIRQueueModal
diff --git a/html/RTIR/Elements/CreateInRTIRQueueModal b/html/RTIR/Elements/CreateInRTIRQueueModal
index f0e643a0..caf66d46 100644
--- a/html/RTIR/Elements/CreateInRTIRQueueModal
+++ b/html/RTIR/Elements/CreateInRTIRQueueModal
@@ -46,6 +46,9 @@
%#
%# END BPS TAGGED BLOCK }}}
<form action="<% RT::IR->HREFTo('Create.html') %>" id="CreateInQueue">
+% $m->callback( CallbackName => 'FormStart', Lifecycle => $Lifecycle, LinkedConstituency => $linked_constituency,
+% LinkedTicket => $linked_ticket, Incident => $Incident, ARGSRef => \%ARGS );
+
% if ($Incident) {
<input type="hidden" name="Incident" value="<%$Incident%>"/>
% }
@@ -61,6 +64,10 @@
Constituency => $m->{'RTIR_ConstituencyFilter'} || $linked_constituency)
&>Create a new [_1] in the queue [_2]</&>
+
+% $m->callback( CallbackName => 'FormEnd', Lifecycle => $Lifecycle, LinkedConstituency => $linked_constituency,
+% LinkedTicket => $linked_ticket, Incident => $Incident, ARGSRef => \%ARGS );
+
<& /Elements/Submit, Label => loc("Go"), Caption => loc("This will take you to a partially prefilled [_1] creation form.", $ticket_type) &>
</form>
<%INIT>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list