ADIF field should be filled with null in case of failure

This commit is contained in:
phl0
2023-08-29 23:48:59 +02:00
parent 23f45ee5be
commit 8135924345
2 changed files with 2 additions and 2 deletions

View File

@@ -177,7 +177,7 @@ function qso_edit(id) {
document.getElementById("distance").value = data;
},
error: function() {
document.getElementById("distance").value = 'Error calculating distance!';
document.getElementById("distance").value = null;
},
});
}

View File

@@ -863,7 +863,7 @@ $("#locator").keyup(function(){
document.getElementById("distance").value = data;
},
error: function() {
document.getElementById("distance").value = 'Error calculating distance!';
document.getElementById("distance").value = null;
},
});
}