[Advanced Logbook] Fixed ADIF button when no QSOs were checked

pull/2108/head
Andreas 2023-05-03 15:30:36 +02:00
rodzic c192abaee6
commit fd450673db
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -274,12 +274,12 @@ $(document).ready(function () {
});
$('#exportAdif').click(function (event) {
$('#exportAdif').prop("disabled", true);
var elements = $('#qsoList tbody input:checked');
var nElements = elements.length;
if (nElements == 0) {
return;
}
$('#exportAdif').prop("disabled", true);
var id_list=[];
elements.each(function() {
let id = $(this).first().closest('tr').data('qsoID')