summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2017-02-07 17:46:12 +0100
committerDavid Lawrence <dkl@mozilla.com>2017-02-07 17:46:12 +0100
commit39ace7e59efe074108fa48fd82180be46dbec568 (patch)
tree1ecb5d7c82c74ad56be117eac10051beda93c615 /template/en/default/bug
parent212f76823f93adc87b25ce1b7e444af2585aa97c (diff)
downloadbugzilla-39ace7e59efe074108fa48fd82180be46dbec568.tar.gz
bugzilla-39ace7e59efe074108fa48fd82180be46dbec568.tar.xz
Bug 1337382 - clicking on 'show' after updating a bug to show the list of people emailed no longer works
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/process/bugmail.html.tmpl7
1 files changed, 4 insertions, 3 deletions
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'));
});
});
</script>
<dl id="bugmail_summary_[% mailing_bugid FILTER none %]"
- class="[% show_recipients ? "" : "bz_default_hidden" %]">
+ [% IF !show_recipients %]style="display:none;"[% END %]>
<dt>Email sent to:</dt>
<dd>
[% IF user.can_see_bug(mailing_bugid) %]
@@ -77,7 +78,7 @@
</dl>
<div id="bugmail_summary_[% mailing_bugid FILTER none %]_short"
- class="[% show_recipients ? "bz_default_hidden" : "" %]">
+ [% IF show_recipients %]style="display:none;"[% END %]>
[% IF recipient_count > 0 %]
Email sent to [% recipient_count FILTER html %] recipient[% 's' UNLESS recipient_count == 1 %].
(<a href="#" class="toggleBugmailRecipients" data-mailing-bugid="[% mailing_bugid FILTER html %]"