summaryrefslogtreecommitdiffstats
path: root/extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl')
-rw-r--r--extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl4
1 files changed, 2 insertions, 2 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');