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
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A
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;
},
});
}