diff --git a/scripts/pi-hole/js/groups-lists.js b/scripts/pi-hole/js/groups-lists.js index 6bf81c3b..ca6e5d15 100644 --- a/scripts/pi-hole/js/groups-lists.js +++ b/scripts/pi-hole/js/groups-lists.js @@ -397,7 +397,7 @@ function initTable() { var ids = []; $("tr.selected").each(function () { // ... add the row identified by "data-id". - ids.push($(this).attr("data-id")); + ids.push({ item: $(this).attr("data-id") }); }); // Delete all selected rows at once delGroupItems("list", ids, table);