summaryrefslogtreecommitdiffstats
path: root/extensions/Needinfo
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-02-21 19:59:53 +0100
committerGitHub <noreply@github.com>2018-02-21 19:59:53 +0100
commitd435e0a5b0e07c145f929457313d8d7738f42b14 (patch)
tree7ed248a0637b8fcf09380658ad731a0a79cbe600 /extensions/Needinfo
parentc0d4e47a7b543ab406eeee414ae9baf228b43ce4 (diff)
downloadbugzilla-d435e0a5b0e07c145f929457313d8d7738f42b14.tar.gz
bugzilla-d435e0a5b0e07c145f929457313d8d7738f42b14.tar.xz
Bug 1439797 - Enable reporting-only CSP by default
Diffstat (limited to 'extensions/Needinfo')
-rw-r--r--extensions/Needinfo/template/en/default/hook/attachment/edit-after_comment_textarea.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Needinfo/template/en/default/hook/attachment/edit-after_comment_textarea.html.tmpl b/extensions/Needinfo/template/en/default/hook/attachment/edit-after_comment_textarea.html.tmpl
index 22ee41af6..9ed394fbb 100644
--- a/extensions/Needinfo/template/en/default/hook/attachment/edit-after_comment_textarea.html.tmpl
+++ b/extensions/Needinfo/template/en/default/hook/attachment/edit-after_comment_textarea.html.tmpl
@@ -9,7 +9,7 @@
[% PROCESS bug/needinfo.html.tmpl
bug => attachment.bug
%]
-<script>
+<script [% script_nonce FILTER none %]>
document.getElementById('editButton').addEventListener('click', function() {
document.getElementById('attachment_view_window')
.appendChild(document.getElementById('needinfo_container'));