If locator is present before entering a callsign its not overwritten when search is done

pull/106/merge
Peter Goodhall 2011-08-21 15:32:19 +01:00
rodzic f13c6bdcb3
commit 8973ceb8e0
1 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -274,10 +274,12 @@ $(document).ready(function(){
$('#country').val(result);
});
$.get('logbook/callsign_qra/' + $(this).val(), function(result) {
$('#locator').val(result);
if($('#locator').val() == "") {
$.get('logbook/callsign_qra/' + $(this).val(), function(result) {
$('#locator').val(result);
});
}
$.get('logbook/callsign_name/' + $(this).val(), function(result) {
$('#name').val(result);
});