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.tmpl6
1 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 e276e3127..c6a16f7d0 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 type="text/javascript">
+ <script>
function userStoryComment() {
var commenttext = "(Commenting on User Story)\n";
var text_elem = document.getElementById('user_story');
@@ -27,7 +27,7 @@
<b>User Story</b>
[% IF can_edit_story %]
<span id="user_story_edit">
- (<a href="javascript:void(0)" id="user_story_edit_action" >edit</a>)
+ (<a href="javascript:void(0)" id="user_story_edit_action">edit</a>)
</span>
[% END %]
[% IF user.id
@@ -61,7 +61,7 @@
cols = constants.COMMENT_COLS
defaultcontent = bug.cf_user_story %]
</div>
- <script type="text/javascript">
+ <script>
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');