[Rt-commit] rtir branch, 4.0/add-callbacks-to-CreateInRTIRModal, repushed

Craig Kaiser craig at bestpractical.com
Tue Nov 20 16:57:30 EST 2018


The branch 4.0/add-callbacks-to-CreateInRTIRModal was deleted and repushed:
       was 2718944035b3bf8294179fa2b5adca83eedade1b
       now c69496b464c3e0b7e2704f0aa2ebb8ad3522e211

1: 27189440 ! 1: c69496b4 Add callbacks to CreateInRTIRQueueModal
    @@ -16,12 +16,13 @@
      <input type="hidden" name="Incident" value="<%$Incident%>"/>
      % }
     @@
    +         Constituency => $m->{'RTIR_ConstituencyFilter'} || $linked_constituency)
      
          &>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 );
    ++
    +   <& /Elements/Submit, Label => loc("Go"), Caption => loc("This will take you to a partially prefilled [_1] creation form.", $ticket_type) &>
      </form>
      <%INIT>
    - $Lifecycle = $Lifecycle->[0] if (ref $Lifecycle eq 'ARRAY');



More information about the rt-commit mailing list