From 13f102bee2a10cffced71438272d5196661489b2 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Sat, 12 Apr 2025 14:09:04 +0100 Subject: [PATCH] [Contesting] Stops whitespace in the getting saved with callsign If there is any whitespace it will error and if that slips through it gets stripped out. Fixes #3267 --- application/views/contesting/index.php | 2 +- assets/js/sections/contesting.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/views/contesting/index.php b/application/views/contesting/index.php index e1e3cc5f..1ca451bd 100644 --- a/application/views/contesting/index.php +++ b/application/views/contesting/index.php @@ -102,7 +102,7 @@
- +
diff --git a/assets/js/sections/contesting.js b/assets/js/sections/contesting.js index 7a30890d..10d225b8 100644 --- a/assets/js/sections/contesting.js +++ b/assets/js/sections/contesting.js @@ -433,7 +433,7 @@ function logQso() { var data = [[ $("#start_date").val() + ' ' + $("#start_time").val(), - $("#callsign").val().toUpperCase(), + $("#callsign").val($("#callsign").val().replace(/\s+/g, '').toUpperCase()), $("#band").val(), $("#mode").val(), $("#rst_sent").val(),