summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-01-04 17:11:22 +0100
committerDylan William Hardison <dylan@hardison.net>2017-01-04 17:11:22 +0100
commite3f7a8473ceea34e05e76f09e0220bed09420c46 (patch)
treeafd7266a073c0ecccd016cab5d08355bbceca16f /extensions
parentad7cbed57e15102a8f0b7fdc321cf311f19800e4 (diff)
downloadbugzilla-e3f7a8473ceea34e05e76f09e0220bed09420c46.tar.gz
bugzilla-e3f7a8473ceea34e05e76f09e0220bed09420c46.tar.xz
Bug 1328464 - The checkbox of "Add me to CC list (follow this bug)" doesn't work
Diffstat (limited to 'extensions')
-rw-r--r--extensions/BugModal/web/bug_modal.js2
1 files changed, 1 insertions, 1 deletions
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