From 32854d47e8b57b747c000cd2e2922c9454f83132 Mon Sep 17 00:00:00 2001 From: ljm42 Date: Thu, 21 Aug 2025 17:44:51 -0700 Subject: [PATCH] Fix: Prevent Firefox from showing resend/cancel popup when starting array --- .../dynamix/include/DefaultPageLayout/HeadInlineJS.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emhttp/plugins/dynamix/include/DefaultPageLayout/HeadInlineJS.php b/emhttp/plugins/dynamix/include/DefaultPageLayout/HeadInlineJS.php index 3b512ad39..5b34fab5d 100644 --- a/emhttp/plugins/dynamix/include/DefaultPageLayout/HeadInlineJS.php +++ b/emhttp/plugins/dynamix/include/DefaultPageLayout/HeadInlineJS.php @@ -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); } }