From c38b973281b027c3a944f1a023c5e66dfe2e4b36 Mon Sep 17 00:00:00 2001 From: bruno Date: Sun, 12 Jul 2026 12:38:54 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20SyntaxError=20Alpine.js=20=E2=80=94=20'f?= =?UTF-8?q?or'=20inline=20dans=20@click=20remplac=C3=A9=20par=20clearSelec?= =?UTF-8?q?tion()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - @click='for(var k in selectedIds)...' causait SyntaxError: Unexpected token 'for' - Cette erreur empêchait l'exécution de TOUT Alpine.data('wsInit', ...) - Résultat: toutes les variables Alpine 'not defined' (cascade de 80+ erreurs) - Fix: méthode clearSelection() appelée depuis @click, plus robuste et réactive --- app/templates/local_workspace.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/templates/local_workspace.html b/app/templates/local_workspace.html index d7579eb..79e161e 100644 --- a/app/templates/local_workspace.html +++ b/app/templates/local_workspace.html @@ -441,7 +441,7 @@
- +
@@ -1056,10 +1056,14 @@ document.addEventListener('alpine:init', function() { for (var i=0; i