From: Dylan William Hardison Date: Wed, 4 Jan 2017 16:11:22 +0000 (-0500) Subject: Bug 1328464 - The checkbox of "Add me to CC list (follow this bug)" doesn't work X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3f7a8473ceea34e05e76f09e0220bed09420c46;p=thirdparty%2Fbugzilla.git Bug 1328464 - The checkbox of "Add me to CC list (follow this bug)" doesn't work --- diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js index 9bbe8b20c..140625631 100644 --- a/extensions/BugModal/web/bug_modal.js +++ b/extensions/BugModal/web/bug_modal.js @@ -1122,7 +1122,7 @@ $(function() { // Add user to cc list if they mark the bug as security sensitive $('.restrict_sensitive') .change(function(event) { - $('#addselfcc').val($('#addselfcc').val() == 0 ? 1 : 0); + $('#add-self-cc:not(:checked)').attr('checked', true); }); // product change --> load components, versions, milestones, groups