diff options
author | Fateh Sandhu <fatehsandhu@gmail.com> | 2018-01-02 01:37:23 +0100 |
---|---|---|
committer | Kohei Yoshino <kohei.yoshino@gmail.com> | 2018-01-02 01:37:23 +0100 |
commit | 37bac7ea1661464624b21f24940cbad625ef056b (patch) | |
tree | 7d1ac0308fdc62ddab5a7a948bc488472593aaeb /extensions/UserStory/template/en/default/hook/bug | |
parent | e83fa315f72b97c5504e85236623df1f14dddc94 (diff) | |
download | bugzilla-37bac7ea1661464624b21f24940cbad625ef056b.tar.gz bugzilla-37bac7ea1661464624b21f24940cbad625ef056b.tar.xz |
Bug 1426507 - Upgrade BMO to HTML5
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 | 6 | ||||
-rw-r--r-- | extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl | 4 |
2 files changed, 5 insertions, 5 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'); 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 0c968e634..77734408a 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 @@ -17,7 +17,7 @@ <td colspan="3"> <div id="user_story_header"> <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> </div> <div id="user_story_edit_container" class="bz_default_hidden"> @@ -32,7 +32,7 @@ defaultcontent = user_story_default %] </div> - <script type="text/javascript"> + <script> var user_story_exclude_components = []; [% FOREACH c = default.user_story_visible.1 %] user_story_exclude_components.push('[% c FILTER js %]'); |