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 /extensions/Push | |
parent | c0d4e47a7b543ab406eeee414ae9baf228b43ce4 (diff) | |
download | bugzilla-d435e0a5b0e07c145f929457313d8d7738f42b14.tar.gz bugzilla-d435e0a5b0e07c145f929457313d8d7738f42b14.tar.xz |
Bug 1439797 - Enable reporting-only CSP by default
Diffstat (limited to 'extensions/Push')
-rw-r--r-- | extensions/Push/template/en/default/pages/push_config.html.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/Push/template/en/default/pages/push_config.html.tmpl b/extensions/Push/template/en/default/pages/push_config.html.tmpl index 3783ecad6..dd5507bbc 100644 --- a/extensions/Push/template/en/default/pages/push_config.html.tmpl +++ b/extensions/Push/template/en/default/pages/push_config.html.tmpl @@ -12,7 +12,7 @@ style_urls = [ 'extensions/Push/web/admin.css' ] %] -<script> +<script [% script_nonce FILTER none %]> var push_defaults = new Array(); [% FOREACH option = push.config.options %] [% IF option.name != 'enabled' && option.default != '' %] @@ -127,7 +127,7 @@ var push_defaults = new Array(); </tr> [% END %] [% IF name != 'global' %] - <script> + <script [% script_nonce FILTER none %]> var is_enabled = document.getElementById('[% name FILTER js %]_enabled').value == 'Enabled'; toggle_options(is_enabled, '[% name FILTER js %]'); </script> |