diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2018-08-13 10:57:21 +0200 |
---|---|---|
committer | Ansuel Smith <ansuelsmth@gmail.com> | 2018-08-13 10:57:21 +0200 |
commit | 442ece768d36e8233c9dd3343844abf3caafddcf (patch) | |
tree | 359defb16e9f7e60ca1a08ebbde723f7020ba810 /modules/luci-mod-admin-full/luasrc | |
parent | bf123fb7c4918120f5f9f638866bfae1e5b23a54 (diff) |
luci-mod-admin-full: applyreboot doesn't reload page
The applyreboot page doesn't reload the page onload of the loding gif. This adds the right function.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc')
-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(); |