Remove correctly from dxcc table since it's datatable

This commit is contained in:
Andreas Kristiansen
2025-12-31 13:20:24 +01:00
parent 5f2d19b6aa
commit 2b8ea00db4

View File

@@ -2761,6 +2761,8 @@ function saveOptions() {
return;
}
let table = $('#dxccCheckTable').DataTable();
$('#fixSelectedDxccBtn').prop("disabled", true).addClass("running");
$('#closeButton').prop("disabled", true);
@@ -2773,7 +2775,8 @@ function saveOptions() {
$('#closeButton').prop("disabled", false);
id_list.forEach(function(id) {
let row = $("#dxccCheckTable tbody tr#qsoID-" + id);
row.remove();
table.row(row).remove();
table.draw(false);
});
$('.dxcctablediv').html(data.message);
},