From edd492dfc4608193ff2c7d11f923189b23d8a3bb Mon Sep 17 00:00:00 2001 From: Steve Beaver Date: Tue, 24 Oct 2017 18:17:51 -0400 Subject: [PATCH] Revise timeout message --- src/usr/local/www/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php index 784c895d34..b5ff55a102 100644 --- a/src/usr/local/www/index.php +++ b/src/usr/local/www/index.php @@ -31,8 +31,8 @@ ##|-PRIV // Message to display if the session times out and an AJAX call is made -$timeoutmessage1 = gettext("The dashboard web session has timed out."); -$timeoutmessage2 = gettext("It will not update until you refresh the page and log-in again."); +$timeoutmessage = gettext("The dashboard web session has timed out.\\n" . + "It will not update until you refresh the page and log-in again."); // Turn on buffering to speed up rendering ini_set('output_buffering', 'true'); @@ -678,7 +678,7 @@ events.push(function() { } else { if (ajaxtimeout === false) { ajaxtimeout = true; - alert("" + "\n" + ""); + alert(""); } } }