mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-18 17:15:05 +00:00
Update registration_reload.php
This commit is contained in:
@@ -86,11 +86,11 @@
|
||||
}
|
||||
|
||||
var requestTime = function() {
|
||||
var url = 'registrations.php?template=false&profile=&show=<?php echo $show; ?>';
|
||||
var url = 'registrations.php?template=false&profile=&show=<?php echo escape($show); ?>';
|
||||
new loadXmlHttp(url, 'ajax_response');
|
||||
<?php
|
||||
if (strlen($_SESSION["ajax_refresh_rate"]) == 0) { $_SESSION["ajax_refresh_rate"] = "1800"; }
|
||||
echo "setInterval(function(){new loadXmlHttp(url, 'ajax_reponse');}, ".$_SESSION["ajax_refresh_rate"].");";
|
||||
echo "setInterval(function(){new loadXmlHttp(url, 'ajax_reponse');}, ".escape($_SESSION["ajax_refresh_rate"]).");";
|
||||
?>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user