From 01a8b97900a917df1164e71daf21d4ac87f81164 Mon Sep 17 00:00:00 2001 From: laf Date: Fri, 6 Mar 2015 15:49:35 +0000 Subject: [PATCH] Moved to jquery for refresh --- html/index.php | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/html/index.php b/html/index.php index db8b9807e2..fd4e3d1691 100755 --- a/html/index.php +++ b/html/index.php @@ -142,9 +142,6 @@ if (isset($config['page_title'])) { $config['page_title_prefix'] = $config['page -' . "\n"); } -?> @@ -340,6 +337,24 @@ if (is_array($sql_debug) && is_array($php_debug)) { } ?> - + type="text/javascript"> + $(document).ready(function() { + setInterval("refreshPage()", '. $refresh .'); + }); + + function refreshPage() { + location.reload(); + } + + '); + +} + +?> +