From bb561451299ac0066fe724e1135b7c029aa98fb6 Mon Sep 17 00:00:00 2001 From: Mikey Saugstad Date: Thu, 11 Jul 2024 16:33:46 +0100 Subject: [PATCH 1/2] fixes keyboard shortcuts in old Validate --- public/javascripts/SVValidate/src/keyboard/Keyboard.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/public/javascripts/SVValidate/src/keyboard/Keyboard.js b/public/javascripts/SVValidate/src/keyboard/Keyboard.js index 231657b94..1ae23e9a0 100644 --- a/public/javascripts/SVValidate/src/keyboard/Keyboard.js +++ b/public/javascripts/SVValidate/src/keyboard/Keyboard.js @@ -165,11 +165,21 @@ function Keyboard(menuUI) { menuUI.yesButton.removeClass("validate"); status.keyPressed = false; break; + // "a" key + case 65: + menuUI.yesButton.removeClass("validate"); + status.keyPressed = false; + break; // "n" key case 78: menuUI.noButton.removeClass("validate"); status.keyPressed = false; break; + // "d" key + case 68: + menuUI.noButton.removeClass("validate"); + status.keyPressed = false; + break; // "u" key case 85: menuUI.unsureButton.removeClass("validate"); From 95303b898796d29ebf1b79f66b068c0dc917e2d1 Mon Sep 17 00:00:00 2001 From: Mikey Saugstad Date: Thu, 11 Jul 2024 16:41:16 +0100 Subject: [PATCH 2/2] 7.20.2 -> 7.20.3 --- build.sbt | 2 +- conf/evolutions/default/240.sql | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 conf/evolutions/default/240.sql diff --git a/build.sbt b/build.sbt index b7690ac2a..82b6e62d0 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ import play.PlayScala name := """sidewalk-webpage""" -version := "7.20.2" +version := "7.20.3" scalaVersion := "2.10.7" diff --git a/conf/evolutions/default/240.sql b/conf/evolutions/default/240.sql new file mode 100644 index 000000000..d5485f4d8 --- /dev/null +++ b/conf/evolutions/default/240.sql @@ -0,0 +1,5 @@ +# --- !Ups +INSERT INTO version VALUES ('7.20.3', now(), 'Fixes broken keyboard shortcuts in Validate.'); + +# --- !Downs +DELETE FROM version WHERE version_id = '7.20.3';