From 591e2dabe136e9a9190f3a67c89349cb794ae9a9 Mon Sep 17 00:00:00 2001 From: Sebastin Santy Date: Fri, 9 Sep 2016 16:52:26 -0400 Subject: Bug 1275568 - bottom of page 'duplicate' button focuses top of page duplicate field --- extensions/BugModal/web/bug_modal.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js index dfbe06bad..12d64c580 100644 --- a/extensions/BugModal/web/bug_modal.js +++ b/extensions/BugModal/web/bug_modal.js @@ -861,10 +861,11 @@ $(function() { $('#field-status-edit').show(); $('#field-status-edit .name').show(); $('#bug_status').val('RESOLVED').change(); - $('#resolution').val($(event.target).text()).change(); + $('#bottom-resolution').val($(event.target).text()).change(); $('#top-save-btn').show(); $('#resolve-as').hide(); $('#bottom-status').show(); + $('#bottom-dup_id').focus(); }); $('.status-btn') .click(function(event) { -- cgit v1.2.3-24-g4f1b