Skip to content

Commit

Permalink
Fix for being unable to type in pop-up hgTrackUi fields, refs #34737
Browse files Browse the repository at this point in the history
(cherry picked from commit c446beb)
  • Loading branch information
jonathancasper committed Oct 30, 2024
1 parent 49d10bf commit f0207b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hg/js/hgTracks.js
Original file line number Diff line number Diff line change
Expand Up @@ -4053,9 +4053,9 @@ var popUp = {
});

$(".ui-dialog").on("keypress", function(e) {
e.preventDefault();
var key = e.charCode || e.keyCode || 0;
if (key == 13) {
e.preventDefault();
$(".ui-button:contains('OK')").click();
}
});
Expand Down

0 comments on commit f0207b5

Please sign in to comment.