From: Christian Heller Date: Sun, 8 Feb 2026 18:01:16 +0000 (+0100) Subject: Fix /edit_structured per-line buttons not working. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7Bdb.prefix%7D%7D/booking/static/task?a=commitdiff_plain;p=ledgplom Fix /edit_structured per-line buttons not working. --- diff --git a/src/templates/edit_structured.js b/src/templates/edit_structured.js index c988c0b..6fecc48 100644 --- a/src/templates/edit_structured.js +++ b/src/templates/edit_structured.js @@ -123,7 +123,7 @@ const updateForm = () => { btn.disabled = disabled; btn.onclick = () => { let nRowsSkipped = LEN_EMPTY; // ignore bookingLines-empty rows - table.rows.forEach((row, idx) => { + Array.from(table.rows).forEach((row, idx) => { if (row.classList.contains("skip")) { nRowsSkipped++; return;