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/create | |
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/create')
-rw-r--r-- | template/en/default/bug/create/create-guided.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/bug/create/create.html.tmpl | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl index 9420f1330..a1c2c2e08 100644 --- a/template/en/default/bug/create/create-guided.html.tmpl +++ b/template/en/default/bug/create/create-guided.html.tmpl @@ -41,7 +41,7 @@ [% tablecolour = "#FFFFCC" %] [%# This script displays the descriptions for selected components. %] -<script> +<script [% script_nonce FILTER none %]> var descriptions = [ [% FOREACH c = product.components %] '[% c.description FILTER js %]', @@ -181,7 +181,7 @@ function PutDescription() { <td valign="top" width="100%"> <div id="description" style="color: green; margin-left: 10px; height: 5em; overflow: auto;"> - <script> + <script [% script_nonce FILTER none %]> if ((document.getElementById) && (document.body.innerHTML)) { document.write("\ Select a component to see its description here."); diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 567c58d58..3185374e5 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -40,7 +40,7 @@ onload = "init();" %] -<script> +<script [% script_nonce FILTER none %]> <!-- function init() { @@ -217,7 +217,7 @@ TUI_hide_default('attachment_text_field'); <input type="button" id="expert_fields_controller" value="Hide Advanced Fields" onClick="toggleAdvancedFields()"> [%# Show the link if the browser supports JS %] - <script> + <script [% script_nonce FILTER none %]> YAHOO.util.Dom.removeClass('expert_fields_controller', 'bz_default_hidden'); </script> @@ -276,7 +276,7 @@ TUI_hide_default('attachment_text_field'); [%- END %] </select> - <script> + <script [% script_nonce FILTER none %]> <!-- [%+ INCLUDE "bug/field-events.js.tmpl" field = bug_fields.component, product = product %] @@ -492,7 +492,7 @@ TUI_hide_default('attachment_text_field'); <th>Possible<br>Duplicates:</th> <td colspan="3"> <div id="possible_duplicates"></div> - <script> + <script [% script_nonce FILTER none %]> var dt_columns = [ { key: "id", label: "[% field_descs.bug_id FILTER js %]", formatter: YAHOO.bugzilla.dupTable.formatBugLink }, |