]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1328464 - The checkbox of "Add me to CC list (follow this bug)" doesn't work
authorDylan William Hardison <dylan@hardison.net>
Wed, 4 Jan 2017 16:11:22 +0000 (11:11 -0500)
committerDylan William Hardison <dylan@hardison.net>
Wed, 4 Jan 2017 16:11:22 +0000 (11:11 -0500)
extensions/BugModal/web/bug_modal.js

index 9bbe8b20cca1b56983acd7902783e291e1d0cb86..1406256312331ddeb19b0abe11efd5bcbd34a1f5 100644 (file)
@@ -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