summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal
diff options
context:
space:
mode:
authorSebastin Santy <sebastinssanty@gmail.com>2016-09-09 22:52:26 +0200
committerDylan William Hardison <dylan@hardison.net>2016-09-09 22:52:26 +0200
commit591e2dabe136e9a9190f3a67c89349cb794ae9a9 (patch)
tree99d760e13b687f8111635916d9ed3937bc084c64 /extensions/BugModal
parentd3da04e5d03e3b898243f0fcb975c4feeafce85a (diff)
downloadbugzilla-591e2dabe136e9a9190f3a67c89349cb794ae9a9.tar.gz
bugzilla-591e2dabe136e9a9190f3a67c89349cb794ae9a9.tar.xz
Bug 1275568 - bottom of page 'duplicate' button focuses top of page duplicate field
Diffstat (limited to 'extensions/BugModal')
-rw-r--r--extensions/BugModal/web/bug_modal.js3
1 files changed, 2 insertions, 1 deletions
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) {