From 8f143308bf55bd14b1bb02c800d782202b3e2bf1 Mon Sep 17 00:00:00 2001 From: James Date: Fri, 20 Mar 2026 00:10:37 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20addRescrapeSelected=20onclick=20was=20ma?= =?UTF-8?q?ngling=20JSON=20in=20HTML=20attribute=20=E2=80=94=20use=20store?= =?UTF-8?q?d=20window=20variable=20instead?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- portal/templates/app/orgs.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/portal/templates/app/orgs.html b/portal/templates/app/orgs.html index f84d855..7ba7383 100644 --- a/portal/templates/app/orgs.html +++ b/portal/templates/app/orgs.html @@ -403,7 +403,7 @@ + ''; }); html += '' - + '' + + '' + ''; } if (notFound.length > 0) { @@ -422,7 +422,8 @@ window._rescrapeNewPeople = newPeople; } - function addRescrapeSelected(people) { + function addRescrapeSelected() { + const people = window._rescrapeNewPeople || []; const checked = document.querySelectorAll('.rescrape-cb:checked'); checked.forEach(cb => { const p = people[parseInt(cb.dataset.idx)];