From b01c5bbfe3f20d211466867784664793f741ab4e Mon Sep 17 00:00:00 2001 From: bruno Date: Fri, 10 Jul 2026 21:53:55 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20Alpine.data=20registration=20BEFORE=20x-?= =?UTF-8?q?data=20element=20=E2=80=94=20init=20order?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Alpine processes DOM top-to-bottom. x-data='wsInit()' was evaluated before the script defining wsInit() was parsed. Moved Alpine.data registration to a script tag BEFORE the x-data div. Also removed duplicate script block at the bottom. --- app/templates/local_workspace.html | 86 +++++++++++++++++++++++++++--- 1 file changed, 79 insertions(+), 7 deletions(-) diff --git a/app/templates/local_workspace.html b/app/templates/local_workspace.html index 48e14de..9218c44 100644 --- a/app/templates/local_workspace.html +++ b/app/templates/local_workspace.html @@ -55,6 +55,79 @@ .delete-confirm{padding:12px;background:rgba(255,80,80,.08);border-radius:8px;margin-top:12px;font-size:13px;color:var(--text-secondary);} + +
@@ -141,8 +214,9 @@