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/UserStory/template/en/default/hook/bug | |
parent | c0d4e47a7b543ab406eeee414ae9baf228b43ce4 (diff) | |
download | bugzilla-d435e0a5b0e07c145f929457313d8d7738f42b14.tar.gz bugzilla-d435e0a5b0e07c145f929457313d8d7738f42b14.tar.xz |
Bug 1439797 - Enable reporting-only CSP by default
Diffstat (limited to 'extensions/UserStory/template/en/default/hook/bug')
-rw-r--r-- | extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl | 4 | ||||
-rw-r--r-- | extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl b/extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl index c6a16f7d0..e063ac942 100644 --- a/extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl +++ b/extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl @@ -11,7 +11,7 @@ [% can_edit_story = bug.check_can_change_field('cf_user_story', 0, 1) %] <div class="user_story"> - <script> + <script [% script_nonce FILTER none %]> function userStoryComment() { var commenttext = "(Commenting on User Story)\n"; var text_elem = document.getElementById('user_story'); @@ -61,7 +61,7 @@ cols = constants.COMMENT_COLS defaultcontent = bug.cf_user_story %] </div> - <script> + <script [% script_nonce FILTER none %]> YAHOO.util.Event.addListener('user_story_edit_action', 'click', function() { YAHOO.util.Dom.addClass('user_story_edit', 'bz_default_hidden'); YAHOO.util.Dom.addClass('user_story_readonly', 'bz_default_hidden'); diff --git a/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl b/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl index 77734408a..6079ec616 100644 --- a/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl +++ b/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl @@ -32,7 +32,7 @@ defaultcontent = user_story_default %] </div> - <script> + <script [% script_nonce FILTER none %]> var user_story_exclude_components = []; [% FOREACH c = default.user_story_visible.1 %] user_story_exclude_components.push('[% c FILTER js %]'); |