mirror of
https://github.com/unraid/webgui.git
synced 2026-03-02 22:30:07 -06:00
Fix: Don't reload page if modal is open
This commit is contained in:
@@ -434,7 +434,13 @@ document.addEventListener("visibilitychange", (event) => {
|
||||
nchanFocusStop();
|
||||
} else {
|
||||
<? if (isset($myPage['Load']) && $myPage['Load'] > 0):?>
|
||||
window.location.reload();
|
||||
if ( dialogOpen() ) {
|
||||
clearInterval(timers.reload);
|
||||
setTimerReload();
|
||||
nchanFocusStart();
|
||||
} else {
|
||||
window.location.reload();
|
||||
}
|
||||
<?else:?>
|
||||
nchanFocusStart();
|
||||
<?endif;?>
|
||||
|
||||
Reference in New Issue
Block a user