[Rt-commit] rt branch, 4.4/preview-batch, repushed
Alex Vandiver
alexmv at bestpractical.com
Mon Jul 21 19:23:26 EDT 2014
The branch 4.4/preview-batch was deleted and repushed:
was 3e76591003bb18b56d191d12e7b9644112618241
now 9c478173ec9283aad0b3cf0b284228cb82f62dd0
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} || '' %>" />
3: 81e9950 = 3: e9df999 Sync the ckeditor output before updating messages
4: ba4063c = 4: 910a666 Roll back on failure to Comment, as Correspond does
5: 5c462b0 = 5: a25d722 DryRun now wraps in a rollback, and records all transactions
6: 5e41ec1 = 6: aacb253 Display all scrips which are triggered
7: 3e76591 = 7: 9c47817 Re-use squelching information for future updates to a ticket in same request
More information about the rt-commit
mailing list