summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/BugModal/web/bug_modal.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index 37f01f479..09e7a81cf 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -482,8 +482,8 @@ $(function() {
$('#take-btn')
.click(function(event) {
event.preventDefault();
- $('#field-assigned_to .edit-hide').hide();
- $('#field-assigned_to .edit-show').show();
+ $('#field-assigned_to.edit-hide').hide();
+ $('#field-assigned_to.edit-show').show();
$('#assigned_to').val(BUGZILLA.user.login).focus().select();
$('#top-save-btn').show();
});
@@ -547,8 +547,6 @@ $(function() {
.click(function(event) {
event.preventDefault();
$('#field-status-view').hide();
- $('#field-status-edit .edit-hide').hide();
- $('#field-status-edit .edit-show').show();
$('#field-status-edit').show();
$('#bug_status').val('RESOLVED').change();
$('#resolution').val($(event.target).text()).change();
@@ -564,8 +562,6 @@ $(function() {
.click(function(event) {
event.preventDefault();
$('#field-status-view').hide();
- $('#field-status-edit .edit-hide').hide();
- $('#field-status-edit .edit-show').show();
$('#field-status-edit').show();
$('#bug_status').val($(event.target).data('status')).change();
$('#top-save-btn').show();