diff --git a/include/lh_ajax.php b/include/lh_ajax.php index 085dd13..e09e207 100644 --- a/include/lh_ajax.php +++ b/include/lh_ajax.php @@ -34,15 +34,12 @@ $totalLH = count($lastHeard); $(document).ready(function(){ var lastHeardT = $('#lastHeard').dataTable( { "aaSorting": [[0,'desc']], - "ajax": '/ajax.php?section=lastHeard', + 0) { + $request = substr($request,0,strpos($request,"index.php")); + } + ?> + "ajax": '/ajax.php?section=lastHeard', "deferRender": true } ); diff --git a/include/localtx_ajax.php b/include/localtx_ajax.php index 7dd6716..d1a1124 100644 --- a/include/localtx_ajax.php +++ b/include/localtx_ajax.php @@ -34,15 +34,13 @@ $totalLH = count($lastHeard); $(document).ready(function(){ var localTxT = $('#localTx').dataTable( { "aaSorting": [[0,'desc']], - "ajax": '/ajax.php?section=localTx', + + 0) { + $request = substr($request,0,strpos($request,"index.php")); + } + ?> + "ajax": '/ajax.php?section=localTx', "deferRender": true } ); diff --git a/version.php b/version.php index 5e8d05c..8b0cd94 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@