git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
bf123fb
)
luci-mod-admin-full: applyreboot doesn't reload page
author
Ansuel Smith
<redacted>
Mon, 13 Aug 2018 08:57:21 +0000
(10:57 +0200)
committer
Ansuel Smith
<redacted>
Mon, 13 Aug 2018 08:57:21 +0000
(10:57 +0200)
The applyreboot page doesn't reload the page onload of the loding gif. This adds the right function.
Signed-off-by: Ansuel Smith <redacted>
modules/luci-mod-admin-full/luasrc/view/admin_system/applyreboot.htm
patch
|
blob
|
history
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 66b80896e8c4160db2cd60f09c923c9daa37fce9..e235bd467993315d3aa0805c25ca260e2fa3a030 100644
(file)
--- 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();
git clone https://git.99rst.org/PROJECT