Skip to content

Commit

Permalink
[QSO][Panel] Pressing Spacebar in the Callsign field moves you to name.
Browse files Browse the repository at this point in the history
Pressing spacebar within the callsign field now jumps you to the name field
  • Loading branch information
magicbug authored Dec 23, 2020
2 parents 209cd02 + 18fbb72 commit 6b34b6f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions application/views/interface_assets/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,14 @@ function reset_fields() {
});
});

//Spacebar moves to the name field when you're entering a callsign
//Similar to contesting ux, good for pileups.
$("#callsign").on("keypress", function(e) {
if (e.which == 32){
$("#name").focus();
return false; //Eliminate space char
}
});

// On Key up check and suggest callsigns
$("#callsign").keyup(function() {
Expand Down

0 comments on commit 6b34b6f

Please sign in to comment.