From 0c60a3f020f29783e8333c7b6d5751dc42a30e6e Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 1 Sep 2025 02:55:33 -0600 Subject: [PATCH] Test --- views/acl-bulk-add.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/acl-bulk-add.ejs b/views/acl-bulk-add.ejs index a89b897..8267097 100644 --- a/views/acl-bulk-add.ejs +++ b/views/acl-bulk-add.ejs @@ -151,7 +151,7 @@ const EndDate = tr.querySelectorAll('input[type="date"]')[1].value; const Doors = []; tr.children[8].querySelectorAll('input[type="checkbox"]').forEach(cb => { - if (cb.checked) Doors.push(cb.name); + if (cb.attributes.checked) Doors.push(cb.attributes.name); }); credentials.push({ CardNumber, @@ -165,7 +165,7 @@ fetch('/acl/bulk-add', { method: 'POST', headers: { 'Content-Type': 'application/json' }, - body: JSON.stringify({ credentials, debugData: Doors }) + body: JSON.stringify({ credentials, debugData: }) }).then(res => { if (res.ok) { location.reload();