From 89c871dfe34520725286dd0e5097871d2886a069 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Wed, 12 Oct 2016 20:31:36 +0000 Subject: [PATCH] relocated javascripts for better performance if disabling sections --- include/lh_ajax.php | 26 ++++++++++++++++++ include/localtx_ajax.php | 26 ++++++++++++++++++ include/sysinfo_ajax.php | 1 - include/ysfgatewayinfo.php | 8 ++++++ index.php | 54 -------------------------------------- txinfo.php | 2 +- version.php | 2 +- 7 files changed, 62 insertions(+), 57 deletions(-) diff --git a/include/lh_ajax.php b/include/lh_ajax.php index df63327..085dd13 100644 --- a/include/lh_ajax.php +++ b/include/lh_ajax.php @@ -30,4 +30,30 @@ $totalLH = count($lastHeard); + diff --git a/include/localtx_ajax.php b/include/localtx_ajax.php index 02cd1d5..7dd6716 100644 --- a/include/localtx_ajax.php +++ b/include/localtx_ajax.php @@ -30,4 +30,30 @@ $totalLH = count($lastHeard); + diff --git a/include/sysinfo_ajax.php b/include/sysinfo_ajax.php index cae62c1..d699442 100644 --- a/include/sysinfo_ajax.php +++ b/include/sysinfo_ajax.php @@ -25,7 +25,6 @@ function loadXMLDocSysinfo() { xmlhttp.send(); var timeout = window.setTimeout("loadXMLDocSysinfo()", 20000); - refreshMode(); } loadXMLDocSysinfo(); diff --git a/include/ysfgatewayinfo.php b/include/ysfgatewayinfo.php index 8781ef7..bd4923a 100644 --- a/include/ysfgatewayinfo.php +++ b/include/ysfgatewayinfo.php @@ -56,3 +56,11 @@ + + diff --git a/index.php b/index.php index 0382bb6..d6105f5 100644 --- a/index.php +++ b/index.php @@ -106,60 +106,6 @@ if (!isset($_GET['stoprefresh'])) { ?> | get your own at: https://github.com/dg9vh/MMDVMHost-Dashboard -