From 72e9bc12941c3cbabf853872a58ca169ea7b1d7a Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Fri, 29 Dec 2023 08:26:15 +0100 Subject: [PATCH] previous contacts --- application/views/qso/index.php | 5 ++++- assets/js/sections/qso.js | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/application/views/qso/index.php b/application/views/qso/index.php index f9f4acbb..367036be 100755 --- a/application/views/qso/index.php +++ b/application/views/qso/index.php @@ -2,6 +2,8 @@
@@ -637,7 +639,7 @@
-

+

@@ -645,6 +647,7 @@
+ diff --git a/assets/js/sections/qso.js b/assets/js/sections/qso.js index c64934f5..e8a12008 100644 --- a/assets/js/sections/qso.js +++ b/assets/js/sections/qso.js @@ -528,6 +528,7 @@ function reset_fields() { mymap.removeLayer(markers); $('.callsign-suggest').hide(); $('.dxccsummary').remove(); + $('#timesWorked').html(lang_qso_title_previous_contacts); } function resetTimers(manual) { @@ -758,7 +759,11 @@ $("#callsign").focusout(function() { county_selectize.setValue(result.callsign_us_county, false); } - $('#timesWorked').html(result.timesWorked + ' '); + if(result.timesWorked != "") { + $('#timesWorked').html(result.timesWorked + lang_qso_title_times_worked_before); + } else { + $('#timesWorked').html(lang_qso_title_previous_contacts); + } if($('#iota_ref').val() == "") { $('#iota_ref').val(result.callsign_iota); } @@ -1049,6 +1054,7 @@ function resetDefaultQSOFields() { $('#callsign-image').attr('style', 'display: none;'); $('#callsign-image-content').text(""); $('.dxccsummary').remove(); + $('#timesWorked').html(lang_qso_title_previous_contacts); } function closeModal() {