Skip to content

Commit bc1df54

Browse files
authored
Focus edit button after form is closed (#8205)
Address #8183
1 parent 7f3e76d commit bc1df54

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/NuGetGallery/Scripts/gallery/page-api-keys.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,10 @@
440440

441441
// Re-attach extensions.
442442
self.AttachExtensions();
443+
444+
// Focus the edit link so that the next tab key will continue with where it was left off prior to
445+
// opening the edit form. See https://github.com/NuGet/NuGetGallery/issues/8183.
446+
$("#" + self.StartEditId()).focus();
443447
};
444448

445449
this.ShowRemainingPackages = function (_, e) {

0 commit comments

Comments
 (0)