]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1275568 - bottom of page 'duplicate' button focuses top of page duplicate field
authorSebastin Santy <sebastinssanty@gmail.com>
Fri, 9 Sep 2016 20:52:26 +0000 (16:52 -0400)
committerDylan William Hardison <dylan@hardison.net>
Fri, 9 Sep 2016 20:52:26 +0000 (16:52 -0400)
extensions/BugModal/web/bug_modal.js

index dfbe06bad5ca62e6c8d0807305cc83c144c18ef2..12d64c58003b5752da64062a254583f0839bcc54 100644 (file)
@@ -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) {