From 8eb1d171036213c93db3fea1239762a133367041 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Tue, 8 Nov 2016 08:52:00 +0100 Subject: [PATCH] closed https://github.com/dg9vh/MMDVMHost-Dashboard/issues/64 --- include/lh_ajax.php | 3 +++ include/localtx_ajax.php | 3 +++ version.php | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/lh_ajax.php b/include/lh_ajax.php index a5df876..b45406f 100644 --- a/include/lh_ajax.php +++ b/include/lh_ajax.php @@ -38,6 +38,9 @@ $(document).ready(function(){ if (strpos($request,"index.php")> 0) { $request = substr($request,0,strpos($request,"index.php")); } + if (strpos($request,"?stoprefresh")> 0) { + $request = substr($request,0,strpos($request,"?stoprefresh")); + } ?> "ajax": '/ajax.php?section=lastHeard', "deferRender": true diff --git a/include/localtx_ajax.php b/include/localtx_ajax.php index 628f760..9a73097 100644 --- a/include/localtx_ajax.php +++ b/include/localtx_ajax.php @@ -39,6 +39,9 @@ $(document).ready(function(){ if (strpos($request,"index.php")> 0) { $request = substr($request,0,strpos($request,"index.php")); } + if (strpos($request,"?stoprefresh")> 0) { + $request = substr($request,0,strpos($request,"?stoprefresh")); + } ?> "ajax": '/ajax.php?section=localTx', "deferRender": true diff --git a/version.php b/version.php index 9e48437..090e0ff 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@