summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/web
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BugModal/web')
-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