mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fix datatable removal
This commit is contained in:
@@ -2925,6 +2925,8 @@ function saveOptions() {
|
||||
return;
|
||||
}
|
||||
|
||||
let table = $('#incorrectituzonetable').DataTable();
|
||||
|
||||
$('#fixSelectedItuZoneBtn').prop("disabled", true).addClass("running");
|
||||
$('#closeButton').prop("disabled", true);
|
||||
|
||||
@@ -2937,7 +2939,8 @@ function saveOptions() {
|
||||
$('#closeButton').prop("disabled", false);
|
||||
id_list.forEach(function(id) {
|
||||
let row = $("#incorrectituzonetable tbody tr#qsoID-" + id);
|
||||
row.remove();
|
||||
table.row(row).remove();
|
||||
table.draw(false);
|
||||
});
|
||||
$('.dxcctablediv').html(data.message);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user