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/edit.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/edit.html.tmpl')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 84a20b97e..b424d5542 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -49,7 +49,7 @@ </div> [% END %] [% IF user.id %] - <script> + <script [% script_nonce FILTER none %]> YAHOO.bugzilla.commentTagging.init([% user.can_tag_comments ? 'true' : 'false' %]); YAHOO.bugzilla.commentTagging.min_len = [% constants.MIN_COMMENT_TAG_LENGTH FILTER js %]; YAHOO.bugzilla.commentTagging.max_len = [% constants.MAX_COMMENT_TAG_LENGTH FILTER js %]; @@ -64,7 +64,7 @@ [% END %] [% END %] -<script> +<script [% script_nonce FILTER none %]> <!-- [% IF user.is_timetracker %] var fRemainingTime = [% bug.remaining_time %]; // holds the original value @@ -300,7 +300,7 @@ </table> </div> </div> - <script> + <script [% script_nonce FILTER none %]> hideAliasAndSummary('[% bug.short_desc FILTER js %]', '[% bug.alias FILTER js %]'); </script> [% END %] @@ -591,7 +591,7 @@ [%# BMO - hook for adding mentors %] [% Hook.process("after_people", "bug/edit.html.tmpl") %] - <script> + <script [% script_nonce FILTER none %]> assignToDefaultOnChange(['product', 'component'], '[% bug.component_obj.default_assignee.login FILTER js %]', '[% bug.component_obj.default_qa_contact.login FILTER js %]'); @@ -998,7 +998,7 @@ [% IF !bug_flags_set %]<em>None yet set</em>[% END %] (<a href="#" id="bz_flags_more_action">[% IF !bug_flags_set %]set[% ELSE %]more[% END %] flags</a>) </span> - <script> + <script [% script_nonce FILTER none %]> YAHOO.util.Dom.removeClass('bz_flags_more_container', 'bz_default_hidden'); var table = YAHOO.util.Dom.get("flags"); var rows = YAHOO.util.Dom.getElementsByClassName('bz_flag_type', 'tbody', table); @@ -1248,7 +1248,7 @@ [% BLOCK summon_comment_box %] <div id="comment_top_hat"> - <script> + <script [% script_nonce FILTER none %]> function summonCommentBox() { var commentbox = document.getElementById('add_comment'); document.getElementById('comment_top_hat').appendChild(commentbox); |