diff --git a/assets/js/sections/common.js b/assets/js/sections/common.js index c0c84491..2edb942f 100644 --- a/assets/js/sections/common.js +++ b/assets/js/sections/common.js @@ -433,7 +433,7 @@ function getLookupResult() { } // This function executes the call to the backend for fetching dxcc summary and inserted table below qso entry -function getDxccResult(dxcc) { +function getDxccResult(dxcc, name) { $.ajax({ url: base_url + 'index.php/lookup/search', type: 'post', @@ -443,7 +443,7 @@ function getDxccResult(dxcc) { }, success: function (html) { $('.dxccsummary').remove(); - $('.qsopane').append('

DXCC Summary
'); + $('.qsopane').append('

DXCC Summary for '+name+'
'); $('.dxccsummarybody').append(html); } }); diff --git a/assets/js/sections/qso.js b/assets/js/sections/qso.js index f3f7b8c0..d0f0b706 100644 --- a/assets/js/sections/qso.js +++ b/assets/js/sections/qso.js @@ -407,7 +407,7 @@ $("#callsign").focusout(function() { if(result.dxcc.entity != undefined) { $('#country').val(convert_case(result.dxcc.entity)); $('#callsign_info').text(convert_case(result.dxcc.entity)); - getDxccResult(result.dxcc.adif); + getDxccResult(result.dxcc.adif, convert_case(result.dxcc.entity)); if($("#sat_name" ).val() != "") { //logbook/jsonlookupgrid/io77/SAT/0/0