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

这个提交包含在:
Peter Goodhall 2011-08-21 15:32:19 +01:00
父节点 f13c6bdcb3
当前提交 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);
});