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;