From 044395500fe1fa48d1a5a5d2a61f01d8ad776b3f Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Thu, 18 Jun 2026 14:28:49 -0400 Subject: [PATCH] fix: missing closing paren in t() call causing SyntaxError in ui.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The template literal ${t('modal.in_folder', {path: parentPath || '/'}\nwas missing the closing )} — the / after || was interpreted\nas the start of a regex literal, causing:\n Uncaught SyntaxError: Invalid regular expression: missing / Fixed both occurrences (directory + file create modals). --- frontend/js/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/js/ui.js b/frontend/js/ui.js index 382428c..d215e92 100644 --- a/frontend/js/ui.js +++ b/frontend/js/ui.js @@ -660,7 +660,7 @@ const FileOperations = { @@ -751,7 +751,7 @@ const FileOperations = {