From e3f7a8473ceea34e05e76f09e0220bed09420c46 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 4 Jan 2017 11:11:22 -0500 Subject: Bug 1328464 - The checkbox of "Add me to CC list (follow this bug)" doesn't work --- extensions/BugModal/web/bug_modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions') 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 -- cgit v1.2.3-24-g4f1b