From dc630c9ba759515226562adfe2d331d6d0ddee43 Mon Sep 17 00:00:00 2001 From: bruno Date: Sun, 12 Jul 2026 18:06:43 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20wsInit()=20en=20fonction=20globale=20?= =?UTF-8?q?=E2=80=94=20contourne=20Alpine.data=20qui=20ne=20s'enregistrait?= =?UTF-8?q?=20pas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - wsInit() était enregistré via Alpine.data() dans alpine:init → ne fonctionnait pas → toutes les variables undefined (ReferenceError) - Changé en function wsInit() globale → x-data='wsInit()' appelle la fonction directement, zéro enregistrement Alpine - Supprimé les wrappers Alpine.data() et addEventListener('alpine:init') - Braces vérifiés: 397/397 équilibrés - window._wsData.set dans init() avant await (contexte menu) --- app/templates/local_workspace.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/templates/local_workspace.html b/app/templates/local_workspace.html index 0c1e614..6cd00c3 100644 --- a/app/templates/local_workspace.html +++ b/app/templates/local_workspace.html @@ -867,9 +867,8 @@ {% endblock %}