From 49f57b10499a02a312e6057e45a973f410b52291 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 20 Oct 2024 16:07:13 +0800 Subject: [PATCH] WebUI: fix 'rename files' dialog cannot be opened more than once Added an IIFE around the whole script to suppress variable redeclaration errors. Closes #21614. Original PR #21620. PR #21621. --- src/webui/www/private/rename_files.html | 634 ++++++++++++------------ 1 file changed, 313 insertions(+), 321 deletions(-) diff --git a/src/webui/www/private/rename_files.html b/src/webui/www/private/rename_files.html index 86ecc6712..1bc1b583f 100644 --- a/src/webui/www/private/rename_files.html +++ b/src/webui/www/private/rename_files.html @@ -14,15 +14,13 @@