diff options
Diffstat (limited to 'extensions/BMO/template/en/default/hook')
7 files changed, 7 insertions, 7 deletions
diff --git a/extensions/BMO/template/en/default/hook/admin/products/edit-common-rows.html.tmpl b/extensions/BMO/template/en/default/hook/admin/products/edit-common-rows.html.tmpl index 5486684f1..632ccb1e6 100644 --- a/extensions/BMO/template/en/default/hook/admin/products/edit-common-rows.html.tmpl +++ b/extensions/BMO/template/en/default/hook/admin/products/edit-common-rows.html.tmpl @@ -30,7 +30,7 @@ <span id="security_group_warning" style="color:red; display:none;"> This security group needs to be set to SHOWN/SHOWN </span> - <script> + <script [% script_nonce FILTER none %]> var toggleGroupWarning = function() { var correct_shown = $('#security_group_id option:selected').data('group-correct-visibility'); if ($('#security_group_id').val() === '' || correct_shown) { diff --git a/extensions/BMO/template/en/default/hook/attachment/edit-view.html.tmpl b/extensions/BMO/template/en/default/hook/attachment/edit-view.html.tmpl index c66a02371..e28a142ae 100644 --- a/extensions/BMO/template/en/default/hook/attachment/edit-view.html.tmpl +++ b/extensions/BMO/template/en/default/hook/attachment/edit-view.html.tmpl @@ -35,7 +35,7 @@ [% attachment_data FILTER html %] </pre> [% IF user.id %] - <script> + <script [% script_nonce FILTER none %]> <!-- var patchviewerinstalled = 0; document.write('<button type="button" id="editButton" onclick="editAsComment(patchviewerinstalled);">Edit Attachment As Comment<\/button>'); diff --git a/extensions/BMO/template/en/default/hook/bug/comments-a_comment-end.html.tmpl b/extensions/BMO/template/en/default/hook/bug/comments-a_comment-end.html.tmpl index 3c47ca199..d6dec42b9 100644 --- a/extensions/BMO/template/en/default/hook/bug/comments-a_comment-end.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/comments-a_comment-end.html.tmpl @@ -10,7 +10,7 @@ && (comment.author.login_name == 'tbplbot@gmail.com' || comment.author.login_name == 'orangefactor@bots.tld') %] [% has_tbpl_comment = 1 %] - <script> + <script [% script_nonce FILTER none %]> var id = [% count FILTER none %]; tbpl_comment_ids.push(id); collapse_comment( diff --git a/extensions/BMO/template/en/default/hook/bug/comments-aftercomments.html.tmpl b/extensions/BMO/template/en/default/hook/bug/comments-aftercomments.html.tmpl index 65bf77967..aa76de122 100644 --- a/extensions/BMO/template/en/default/hook/bug/comments-aftercomments.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/comments-aftercomments.html.tmpl @@ -11,7 +11,7 @@ [% collapse_caption = 'Collapse TinderboxPushlog Comments' %] [% show_caption = 'Show TinderboxPushlog Comments' %] [% hide_caption = 'Hide TinderboxPushlog Comments' %] - <script> + <script [% script_nonce FILTER none %]> YAHOO.util.Event.onDOMReady(function () { var ul = document.getElementsByClassName('bz_collapse_expand_comments'); if (ul.length == 0) diff --git a/extensions/BMO/template/en/default/hook/bug/comments-comment_banner.html.tmpl b/extensions/BMO/template/en/default/hook/bug/comments-comment_banner.html.tmpl index 135e1cd95..f490ad826 100644 --- a/extensions/BMO/template/en/default/hook/bug/comments-comment_banner.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/comments-comment_banner.html.tmpl @@ -10,6 +10,6 @@ [%# Needed for collapsing TinderboxPushlog comments %] [% has_tbpl_comment = 0 %] -<script> +<script [% script_nonce FILTER none %]> var tbpl_comment_ids = new Array(); </script> diff --git a/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl b/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl index 6e15e50d3..1dec71b8d 100644 --- a/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl @@ -7,7 +7,7 @@ #%] [%# Display product and component descriptions after their respective fields %] -<script> +<script [% script_nonce FILTER none %]> var Event = YAHOO.util.Event; var Dom = YAHOO.util.Dom; Event.onDOMReady(function() { diff --git a/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl b/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl index 31669f47f..87b51c924 100644 --- a/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl @@ -45,7 +45,7 @@ id = field.name name = field.name minrows = 4 maxrows = 8 cols = 60 defaultcontent = value %] </div> - <script> + <script [% script_nonce FILTER none %]> hideEditableField('[% field.name FILTER js %]_edit_container', '[% field.name FILTER js %]_input', '[% field.name FILTER js %]_edit_action', |