diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-02-21 19:59:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-21 19:59:53 +0100 |
commit | d435e0a5b0e07c145f929457313d8d7738f42b14 (patch) | |
tree | 7ed248a0637b8fcf09380658ad731a0a79cbe600 /template/en/default/bug/comments.html.tmpl | |
parent | c0d4e47a7b543ab406eeee414ae9baf228b43ce4 (diff) | |
download | bugzilla-d435e0a5b0e07c145f929457313d8d7738f42b14.tar.gz bugzilla-d435e0a5b0e07c145f929457313d8d7738f42b14.tar.xz |
Bug 1439797 - Enable reporting-only CSP by default
Diffstat (limited to 'template/en/default/bug/comments.html.tmpl')
-rw-r--r-- | template/en/default/bug/comments.html.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index 2346983b2..7af08efde 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -25,7 +25,7 @@ <script src="[% 'js/comments.js' FILTER version %]"> </script> -<script> +<script [% script_nonce FILTER none %]> <!-- /* Adds the reply text to the 'comment' textarea */ function replyToComment(id, real_id, name) { @@ -191,13 +191,13 @@ [% IF comment.collapsed %] </span> [% END %] - <script> + <script [% script_nonce FILTER none %]> addCollapseLink([% comment.count %], [% comment.collapsed FILTER js %], 'Toggle comment display'); </script> </span> [% ELSIF comment.collapsed %] <span class="bz_comment_actions"> - <script> + <script [% script_nonce FILTER none %]> addCollapseLink([% comment.count %], [% comment.collapsed FILTER js %], 'Toggle comment display'); </script> </span> @@ -270,7 +270,7 @@ [% " bz_default_hidden" UNLESS comment.tags.size %]"> <span id="ct_[% comment.count %]"> [% IF comment.tags.size %] - <script> + <script [% script_nonce FILTER none %]> YAHOO.bugzilla.commentTagging.showTags([% comment.id FILTER none %], [% comment.count FILTER none %], [ [% FOREACH tag = comment.tags %] |