From 57b21f174da1cfd28d69a9354a08cbb03df5063a Mon Sep 17 00:00:00 2001 From: Dominik Date: Tue, 12 Dec 2023 19:26:06 +0100 Subject: [PATCH] Fix lists JSON payload Co-authored-by: RD WebDesign Signed-off-by: Dominik --- scripts/pi-hole/js/groups-lists.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);