Merge pull request #2060 from Ansuel/reboo
luci-mod-admin-full: applyreboot doesn't reload page
This commit is contained in:
commit
40b2d38ac4
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
img.onload = function() {
|
img.onload = function() {
|
||||||
window.clearInterval(interval);
|
window.clearInterval(interval);
|
||||||
|
window.location.replace(target);
|
||||||
};
|
};
|
||||||
|
|
||||||
img.src = target + '<%=resource%>/icons/loading.gif?' + Math.random();
|
img.src = target + '<%=resource%>/icons/loading.gif?' + Math.random();
|
||||||
|
|
Loading…
Reference in a new issue