From 08c097cd0a54a0de8bddf0abb22859c413cae66e Mon Sep 17 00:00:00 2001 From: kenzok8 Date: Wed, 5 Nov 2025 16:31:48 +0800 Subject: [PATCH] update 2025-11-05 16:31:48 --- luci-lib-taskd/Makefile | 2 +- luci-lib-taskd/htdocs/luci-static/resources/tasks/tasks.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/luci-lib-taskd/Makefile b/luci-lib-taskd/Makefile index 2be891297..5217c0eab 100644 --- a/luci-lib-taskd/Makefile +++ b/luci-lib-taskd/Makefile @@ -11,7 +11,7 @@ LUCI_DEPENDS:=+luci-lib-xterm +taskd LUCI_EXTRA_DEPENDS:=taskd (>=1.0.3) LUCI_PKGARCH:=all -PKG_VERSION:=1.0.24 +PKG_VERSION:=1.0.25 PKG_RELEASE:= PKG_MAINTAINER:=jjm2473 diff --git a/luci-lib-taskd/htdocs/luci-static/resources/tasks/tasks.js b/luci-lib-taskd/htdocs/luci-static/resources/tasks/tasks.js index 9a5b7957d..5115d3e9c 100644 --- a/luci-lib-taskd/htdocs/luci-static/resources/tasks/tasks.js +++ b/luci-lib-taskd/htdocs/luci-static/resources/tasks/tasks.js @@ -23,7 +23,7 @@ oReq.onload = function (oEvent) { if (oReq.status == 403) { alert($gettext("Lost login status")); - location.href = location.href; + location.href = location.href.replace(/#.*$/,''); } else if (oReq.status >= 400) { reject(oEvent); } else { @@ -98,7 +98,7 @@ running=false; showing=false; del_task(task_id).then(()=>{ - location.href = location.href; + location.href = location.href.replace(/#.*$/,''); }); } return false;