From 7a40d10ee24a65e163e8e3349634e70174934aa9 Mon Sep 17 00:00:00 2001 From: int2001 Date: Tue, 20 Feb 2024 18:33:27 +0000 Subject: [PATCH] Hotfix for resetting fields after Submit/Reset/etc. --- assets/js/sections/qso.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/assets/js/sections/qso.js b/assets/js/sections/qso.js index ae9bf19e8..e34420064 100644 --- a/assets/js/sections/qso.js +++ b/assets/js/sections/qso.js @@ -578,6 +578,16 @@ function reset_fields() { selectize = $select[0].selectize; selectize.clear(); + var $select = $('#sota_ref').selectize(); + var selectize = $select[0].selectize; + selectize.clear(); + + $('#sig').val(""); + $('#sig_info').val(""); + $('#sent').val("N"); + $('#sent-method').val(""); + $('#qsl_via').val(""); + mymap.setView(pos, 12); mymap.removeLayer(markers); $('.callsign-suggest').hide();