summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-08-13 15:21:40 +0200
committerGitHub <noreply@github.com>2018-08-13 15:21:40 +0200
commit40b2d38ac4ea626845a7596b4e16c76dcbd0c15d (patch)
tree0a6a64fb7200ead456acb9e5e76317189d5e3b6c
parent24f1364f5e536420bb07d9cd264513826426a6ad (diff)
parent442ece768d36e8233c9dd3343844abf3caafddcf (diff)
Merge pull request #2060 from Ansuel/reboo
luci-mod-admin-full: applyreboot doesn't reload page
-rw-r--r--modules/luci-mod-admin-full/luasrc/view/admin_system/applyreboot.htm1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/applyreboot.htm b/modules/luci-mod-admin-full/luasrc/view/admin_system/applyreboot.htm
index 66b80896e8..e235bd4679 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_system/applyreboot.htm
+++ b/modules/luci-mod-admin-full/luasrc/view/admin_system/applyreboot.htm
@@ -16,6 +16,7 @@
img.onload = function() {
window.clearInterval(interval);
+ window.location.replace(target);
};
img.src = target + '<%=resource%>/icons/loading.gif?' + Math.random();