From: David Lawrence Date: Tue, 7 Feb 2017 16:46:12 +0000 (+0000) Subject: Bug 1337382 - clicking on 'show' after updating a bug to show the list of people... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39ace7e59efe074108fa48fd82180be46dbec568;p=thirdparty%2Fbugzilla.git Bug 1337382 - clicking on 'show' after updating a bug to show the list of people emailed no longer works --- diff --git a/template/en/default/bug/process/bugmail.html.tmpl b/template/en/default/bug/process/bugmail.html.tmpl index 0e392c760..824f640e5 100644 --- a/template/en/default/bug/process/bugmail.html.tmpl +++ b/template/en/default/bug/process/bugmail.html.tmpl @@ -51,13 +51,14 @@ $(function() { $(".toggleBugmailRecipients").on("click", function (event) { event.preventDefault(); - toggleBugmailRecipients($(this).data('mailing-bugid'), $(this).data('mailing-show')); + toggleBugmailRecipients($(event.target).data('mailing-bugid'), + $(event.target).data('mailing-show')); }); });
+ [% IF !show_recipients %]style="display:none;"[% END %]>
Email sent to:
[% IF user.can_see_bug(mailing_bugid) %] @@ -77,7 +78,7 @@
+ [% IF show_recipients %]style="display:none;"[% END %]> [% IF recipient_count > 0 %] Email sent to [% recipient_count FILTER html %] recipient[% 's' UNLESS recipient_count == 1 %]. (