diff --git a/application/controllers/Qrbcalc.php b/application/controllers/Qrbcalc.php index decb1287e..247b492e6 100644 --- a/application/controllers/Qrbcalc.php +++ b/application/controllers/Qrbcalc.php @@ -70,7 +70,6 @@ class Qrbcalc extends CI_Controller { $data['latlng2'] = $latlng2; $data['latlong_info_text'] = __("Negative latitudes are south of the equator, negative longitudes are west of Greenwich."); - $data['error_msg'] = __("Error in locators. Please check."); header('Content-Type: application/json'); echo json_encode($data); diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index 214d763f5..acb7ad7ce 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -46,6 +46,7 @@ var lang_lotw_propmode_hint = "= __("Propagation mode is not supported by LoTW. LoTW QSL fields disabled."); ?>"; var lang_no_states_for_dxcc_available = "= __("No states for this DXCC available"); ?>"; var lang_qrbcalc_title = '= __("Compute QRB and QTF"); ?>'; + var lang_qrbcalc_errmsg = '= __("Error in locators. Please check."); ?>'; diff --git a/assets/js/sections/common.js b/assets/js/sections/common.js index 597e4adfb..b2430aecc 100644 --- a/assets/js/sections/common.js +++ b/assets/js/sections/common.js @@ -677,7 +677,7 @@ function calculateQrb() { } }); } else { - $('.qrbResult').html('