From a8563dc28d062ab2eb08beebf19e3636e5af9f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CVeLiTi=E2=80=9D?= <“info@veliti.nl”> Date: Wed, 12 Mar 2025 15:32:46 +0100 Subject: [PATCH] CM94 - Build popup after 25min idle --- buildtool.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildtool.php b/buildtool.php index f9f868e..f8bbbc5 100644 --- a/buildtool.php +++ b/buildtool.php @@ -106,6 +106,10 @@ echo ' display.textContent = minutes + ":" + seconds; + if (timer === 60) { + // Show a popup when the timer reaches 60 seconds + alert("'.($message_build ?? 'Please login again').'"); + } if (--timer < 0) { timer = duration; }