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(""); } } }