]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1337382 - clicking on 'show' after updating a bug to show the list of people...
authorDavid Lawrence <dkl@mozilla.com>
Tue, 7 Feb 2017 16:46:12 +0000 (16:46 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Tue, 7 Feb 2017 16:46:12 +0000 (16:46 +0000)
template/en/default/bug/process/bugmail.html.tmpl

index 0e392c760ad6a13497bb3612d5ec6768f9d5700d..824f640e527c093864095a78e26e55e5ad3d2d95 100644 (file)
   $(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 %]"