summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/common_new_comment.html.tmpl2
-rw-r--r--extensions/BugModal/web/new_bug.js12
-rw-r--r--template/en/default/bug/new_bug.html.tmpl2
3 files changed, 13 insertions, 3 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/common_new_comment.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/common_new_comment.html.tmpl
index 184310277..80c42623b 100644
--- a/extensions/BugModal/template/en/default/bug_modal/common_new_comment.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/common_new_comment.html.tmpl
@@ -32,7 +32,7 @@
<ul id="comment-tabs" role="tablist">
<li id="comment-edit-tab" data-focus="comment" role="tab" tabindex="0" aria-controls="comment-edit-tabpanel" aria-selected="true">
- Add Comment
+ Add Description
</li>
[%~ ~%]
<li id="comment-preview-tab" role="tab" tabindex="-1" aria-controls="comment-preview-tabpanel" aria-selected="false">
diff --git a/extensions/BugModal/web/new_bug.js b/extensions/BugModal/web/new_bug.js
index 32dbe4783..87a43eee7 100644
--- a/extensions/BugModal/web/new_bug.js
+++ b/extensions/BugModal/web/new_bug.js
@@ -121,5 +121,15 @@ $(document).ready(function() {
document.getElementById('reset').style.display = "none";
$("#description").prop('required',false);
});
-
+ $('#comment-edit-tab')
+ .click(function() {
+ $('#comment-preview-tab').css("background-color", "#fff");
+ $(this).css("background-color", "#eee");
+ });
+ $('#comment-preview-tab')
+ .click(function() {
+ $('#comment-edit-tab').css("background-color", "#fff");
+ $(this).css("background-color", "#eee");
+ });
+ $('#comment-edit-tab').click();
});
diff --git a/template/en/default/bug/new_bug.html.tmpl b/template/en/default/bug/new_bug.html.tmpl
index a8d514142..7608d156b 100644
--- a/template/en/default/bug/new_bug.html.tmpl
+++ b/template/en/default/bug/new_bug.html.tmpl
@@ -150,7 +150,7 @@
editable = 1
%]
[% END %]
- [% WRAPPER bug_modal/module.html.tmpl title = "Labels" %]
+ [% WRAPPER bug_modal/module.html.tmpl title = "Tracking" %]
[%# keywords %]
[% INCLUDE bug_modal/field.html.tmpl
field = bug_fields.keywords