summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/usr/local/www/diag_reboot.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_reboot.php b/src/usr/local/www/diag_reboot.php
index 7faf6b2..d00ee82 100755
--- a/src/usr/local/www/diag_reboot.php
+++ b/src/usr/local/www/diag_reboot.php
@@ -94,7 +94,6 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
//<![CDATA[
events.push(function() {
- var timeoutmsg = '<h4><?=sprintf(gettext("Rebooting%sPage will automatically reload in %s seconds"), "<br />", "<span id=\"secs\"></span>");?></h4>';
var time = 0;
function checkonline() {
@@ -110,7 +109,7 @@ events.push(function() {
function startCountdown() {
setInterval(function() {
if (time == "<?=$guitimeout?>") {
- $('#countdown').html(timeoutmsg);
+ $('#countdown').html('<h4><?=sprintf(gettext("Rebooting%sPage will automatically reload in %s seconds"), "<br />", "<span id=\"secs\"></span>");?></h4>');
}
if (time > 0) {
OpenPOWER on IntegriCloud