summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-04-08 05:38:06 +0200
committerByron Jones <glob@mozilla.com>2015-04-08 05:38:06 +0200
commit6a2f368d058697c932457abc9aaae6edc5734a2d (patch)
tree398df1415a7bf2aa68ed0e9d3e476e0d942abb87 /extensions
parentab323343f8a5491c25951260c5df0788ae43576c (diff)
downloadbugzilla-6a2f368d058697c932457abc9aaae6edc5734a2d.tar.gz
bugzilla-6a2f368d058697c932457abc9aaae6edc5734a2d.tar.xz
Bug 1152160: "take" button doesn't update the ui, so it looks like nothing happened
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();