diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-08-13 15:21:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-13 15:21:40 +0200 |
commit | 40b2d38ac4ea626845a7596b4e16c76dcbd0c15d (patch) | |
tree | 0a6a64fb7200ead456acb9e5e76317189d5e3b6c | |
parent | 24f1364f5e536420bb07d9cd264513826426a6ad (diff) | |
parent | 442ece768d36e8233c9dd3343844abf3caafddcf (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.htm | 1 |
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(); |