[Rt-commit] rt branch, 4.4/ajax-preview-scrips, repushed

Alex Vandiver alexmv at bestpractical.com
Mon Jul 21 19:10:55 EDT 2014


The branch 4.4/ajax-preview-scrips was deleted and repushed:
       was 382d6e6867d10d63a89003d10aa92c540a44f570
       now df919d23ea36c4a87a6e31ab848a79eb8969874b

1:  40bf9a9 = 1:  098c568 ajaxify PrviewScrips and ShowSimplifiedRecipients on ticket update page
2:  382d6e6 ! 2:  df919d2 Pass the just-submitted squelching information to the first AJAX request
    @@ -22,7 +22,7 @@
      % if ( RT->Config->Get('SimplifiedRecipients', $session{'CurrentUser'}) ) {
          <&|/Widgets/TitleBox, title => loc('Recipients'), id => 'recipients' &>
     +%   unless ($TicketObj->CurrentUserHasRight('ShowOutgoingEmail')) {
    -+%     for my $address (ref $ARGS{TxnSendMailTo} ? @{$ARGS{TxnSendMailTo}} : $ARGS{TxnSendMailTo}) {
    ++%     for my $address (grep {defined} ref $ARGS{TxnSendMailTo} ? @{$ARGS{TxnSendMailTo}} : $ARGS{TxnSendMailTo}) {
     +        <input type="hidden" name="TxnSendMailTo" value="<% $address %>" />
     +%     }
     +      <input type="hidden" name="TxnRecipients" value="<% $ARGS{TxnRecipients} || '' %>" />
    @@ -34,7 +34,7 @@
      
      % if ($TicketObj->CurrentUserHasRight('ShowOutgoingEmail')) {
        <&|/Widgets/TitleBox, title => loc('Scrips and Recipients'), id => 'previewscrips', rolledup => RT->Config->Get('SimplifiedRecipients', $session{'CurrentUser'}) &>
    -+%   for my $address (ref $ARGS{TxnSendMailTo} ? @{$ARGS{TxnSendMailTo}} : $ARGS{TxnSendMailTo}) {
    ++%   for my $address (grep {defined} ref $ARGS{TxnSendMailTo} ? @{$ARGS{TxnSendMailTo}} : $ARGS{TxnSendMailTo}) {
     +      <input type="hidden" name="TxnSendMailTo" value="<% $address %>" />
     +%   }
     +    <input type="hidden" name="TxnRecipients" value="<% $ARGS{TxnRecipients} || '' %>" />



More information about the rt-commit mailing list