kopia lustrzana https://github.com/magicbug/Cloudlog
If locator is present before entering a callsign its not overwritten when search is done
rodzic
f13c6bdcb3
commit
8973ceb8e0
|
@ -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);
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue