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,9 +274,11 @@ $(document).ready(function(){
|
||||||
$('#country').val(result);
|
$('#country').val(result);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if($('#locator').val() == "") {
|
||||||
$.get('logbook/callsign_qra/' + $(this).val(), function(result) {
|
$.get('logbook/callsign_qra/' + $(this).val(), function(result) {
|
||||||
$('#locator').val(result);
|
$('#locator').val(result);
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
$.get('logbook/callsign_name/' + $(this).val(), function(result) {
|
$.get('logbook/callsign_name/' + $(this).val(), function(result) {
|
||||||
$('#name').val(result);
|
$('#name').val(result);
|
||||||
|
|
Ładowanie…
Reference in New Issue