diff options
author | Byron Jones <glob@mozilla.com> | 2015-04-08 05:38:06 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-04-08 05:38:06 +0200 |
commit | 6a2f368d058697c932457abc9aaae6edc5734a2d (patch) | |
tree | 398df1415a7bf2aa68ed0e9d3e476e0d942abb87 /extensions/BugModal/web | |
parent | ab323343f8a5491c25951260c5df0788ae43576c (diff) | |
download | bugzilla-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/BugModal/web')
-rw-r--r-- | extensions/BugModal/web/bug_modal.js | 8 |
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(); |