From: Sebastin Santy Date: Fri, 9 Sep 2016 20:52:26 +0000 (-0400) Subject: Bug 1275568 - bottom of page 'duplicate' button focuses top of page duplicate field X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=591e2dabe136e9a9190f3a67c89349cb794ae9a9;p=thirdparty%2Fbugzilla.git Bug 1275568 - bottom of page 'duplicate' button focuses top of page duplicate field --- 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) {