diff --git a/build-plugin.sh b/build-plugin.sh index bda7840..fb32826 100755 --- a/build-plugin.sh +++ b/build-plugin.sh @@ -2,7 +2,7 @@ set -eu PLUGIN="u-navigator" -VERSION="2026.06.23.r002" +VERSION="2026.06.23.r003" PKG_DIR="packages" WORK_DIR=".plugin-build" PKG_NAME="${PLUGIN}-${VERSION}.tgz" diff --git a/packages/u-navigator-2026.06.23.r002.tgz b/packages/u-navigator-2026.06.23.r002.tgz deleted file mode 100644 index 50fcc6b..0000000 Binary files a/packages/u-navigator-2026.06.23.r002.tgz and /dev/null differ diff --git a/packages/u-navigator-2026.06.23.r003.tgz b/packages/u-navigator-2026.06.23.r003.tgz new file mode 100644 index 0000000..589c2de Binary files /dev/null and b/packages/u-navigator-2026.06.23.r003.tgz differ diff --git a/server/public/app.js b/server/public/app.js index 71bf1c1..ef9df02 100644 --- a/server/public/app.js +++ b/server/public/app.js @@ -655,8 +655,10 @@ function findPointerDropTarget(event) { } function markDraggingRow(path, dragging) { - for (const row of workspace.querySelectorAll(`.file-row[data-path="${cssEscape(path)}"]`)) { - row.classList.toggle('dragging', dragging); + for (const row of workspace.querySelectorAll('.file-row')) { + if (row.dataset.path === path) { + row.classList.toggle('dragging', dragging); + } } } @@ -792,13 +794,6 @@ function escapeAttr(value) { return escapeHtml(value); } -function cssEscape(value) { - if (window.CSS?.escape) { - return CSS.escape(String(value)); - } - return String(value).replace(/["\\]/g, '\\$&'); -} - function clamp(value, min, max) { return Math.max(min, Math.min(max, value)); } diff --git a/u-navigator.plg b/u-navigator.plg index f4d4fb4..7f371a8 100644 --- a/u-navigator.plg +++ b/u-navigator.plg @@ -1,7 +1,7 @@ - + ]> @@ -14,7 +14,7 @@ https://git.casaderoll.de/michael/Unraid-Navigator/raw/branch/main/packages/&package; -0a9e56a6a4ddf7648388b25a3dedb264 +c1ad74583e3a83dae808677aceb76d79