diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index b0b46786..6253b854 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -208,7 +208,7 @@ $(document).ready(function(){ /* Function: reset_fields is used to reset the fields on the QSO page */ function reset_fields() { - $('#callsign_info').text(""); + $('#locator_info').text(""); $('#country').val(""); $('#lotw_info').text(""); @@ -221,6 +221,7 @@ $(document).ready(function(){ $("#locator").removeClass("workedGrid"); $("#locator").removeClass("newGrid"); $('#qsl_via').val(""); + $('#callsign_info').text(""); mymap.setView([51.505, -0.09], 13); mymap.removeLayer(markers); @@ -239,7 +240,7 @@ $(document).ready(function(){ $("#callsign").focusout(function() { - if ($(this).val()) { + if ($(this).val().length >= 3) { /* Find and populate DXCC */ $.getJSON('logbook/json/' + $(this).val(), function(result) { diff --git a/application/views/qso/index.php b/application/views/qso/index.php index 306094ee..1afc8149 100755 --- a/application/views/qso/index.php +++ b/application/views/qso/index.php @@ -276,7 +276,7 @@ - +