[Rt-commit] rt branch, 4.4/modify-people-squelch-all-checkbox, repushed

Dustin Graves dustin at bestpractical.com
Mon Aug 22 18:32:59 EDT 2016


The branch 4.4/modify-people-squelch-all-checkbox was deleted and repushed:
       was cf35ab3fb21f46ef7c68bc5fe8bfdd4b79c87346
       now fc7fd6b4eefaccd4550d9869da149ea3ee1d5e90

1:  cf35ab3 ! 1:  fc7fd6b add 'All recipients' checkbox to ModifyPeople.html similar to the one on Update.html
    @@ -16,20 +16,8 @@
     +<%PERL>
     +my $all_recipients_checked = (grep { !$_ } values %recips) ? 0 : 1;
     +</%PERL>
    -+<input type="checkbox" class="checkbox" id="TxnSendMailToAll"  <% $all_recipients_checked ? 'checked' : '' %>>
    ++<input type="checkbox" class="checkbox" id="TxnSendMailToAll" onclick="setCheckbox(this, 'checked_recipient')" <% $all_recipients_checked ? 'checked' : '' %>>
     +<label for="TxnSendMailToAll"><b><% loc('All recipients') %></b></label><br />
    -+<script type="text/javascript">
    -+jQuery(function() {
    -+    jQuery('#TxnSendMailToAll').click(function() {
    -+        var allCheckbox = jQuery(this);
    -+        var isChecked = allCheckbox.is(':checked');
    -+        jQuery('div.ticket-info-squelch input[name="checked_recipient"]').each(function(i, checkbox) {
    -+            checkbox = jQuery(checkbox);
    -+            checkbox.prop('checked', isChecked);
    -+        });
    -+    });
    -+});
    -+</script>
     +
      <ul>
      % for my $addr (sort keys %recips) {



More information about the rt-commit mailing list