mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 01:29:54 -06:00
Fix: Prevent Firefox from showing resend/cancel popup when starting array
This commit is contained in:
@@ -94,10 +94,10 @@ function refresh(top) {
|
||||
if (typeof top === 'undefined') {
|
||||
for (var i=0,element; element=document.querySelectorAll('input,button,select')[i]; i++) {element.disabled = true;}
|
||||
for (var i=0,link; link=document.getElementsByTagName('a')[i]; i++) { link.style.color = "gray"; } //fake disable
|
||||
location.reload();
|
||||
location.replace(location.href);
|
||||
} else {
|
||||
$.cookie('top',top);
|
||||
location.reload();
|
||||
location.replace(location.href);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user