[Rt-commit] rtir branch, 4.0/add-callbacks-to-CreateInRTIRModal, created. 4.0.1rc1-87-g27189440

Craig Kaiser craig at bestpractical.com
Mon Nov 19 17:14:28 EST 2018


The branch, 4.0/add-callbacks-to-CreateInRTIRModal has been created
        at  2718944035b3bf8294179fa2b5adca83eedade1b (commit)

- Log -----------------------------------------------------------------
commit 2718944035b3bf8294179fa2b5adca83eedade1b
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..51dde11e 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%>"/>
 % }
@@ -62,6 +65,9 @@
 
     &>Create a new [_1] in the queue [_2]</&>
   <& /Elements/Submit, Label => loc("Go"), Caption => loc("This will take you to a partially prefilled [_1] creation form.", $ticket_type) &>
+
+% $m->callback( CallbackName => 'FormEnd', Lifecycle => $Lifecycle, LinkedConstituency => $linked_constituency,
+%     LinkedTicket => $linked_ticket, Incident => $Incident, ARGSRef => \%ARGS );
 </form>
 <%INIT>
 $Lifecycle = $Lifecycle->[0] if (ref $Lifecycle eq 'ARRAY');

-----------------------------------------------------------------------


More information about the rt-commit mailing list