mirror of
https://github.com/ShaYmez/xlxd.git
synced 2025-09-08 16:17:47 -04:00
db v2.3.5
now the page refresh is now suspended until you leave the filte fields.
This commit is contained in:
parent
31ef06dd62
commit
830cbc07f6
@ -85,6 +85,7 @@ else {
|
|||||||
if ($PageOptions['PageRefreshActive']) {
|
if ($PageOptions['PageRefreshActive']) {
|
||||||
echo '
|
echo '
|
||||||
<script>
|
<script>
|
||||||
|
var PageRefresh;
|
||||||
|
|
||||||
function ReloadPage() {
|
function ReloadPage() {
|
||||||
document.location.href = "./index.php';
|
document.location.href = "./index.php';
|
||||||
@ -96,10 +97,13 @@ else {
|
|||||||
|
|
||||||
if (!isset($_GET['show']) || (($_GET['show'] != 'liveircddb') && ($_GET['show'] != 'reflectors') && ($_GET['show'] != 'interlinks'))) {
|
if (!isset($_GET['show']) || (($_GET['show'] != 'liveircddb') && ($_GET['show'] != 'reflectors') && ($_GET['show'] != 'interlinks'))) {
|
||||||
echo '
|
echo '
|
||||||
setTimeout(ReloadPage, '.$PageOptions['PageRefreshDelay'].');';
|
PageRefresh = setTimeout(ReloadPage, '.$PageOptions['PageRefreshDelay'].');';
|
||||||
}
|
}
|
||||||
echo '
|
echo '
|
||||||
|
|
||||||
|
function SuspendPageRefresh() {
|
||||||
|
clearTimeout(PageRefresh);
|
||||||
|
}
|
||||||
</script>';
|
</script>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user