Update call_center_active.php
This commit is contained in:
parent
03e2f2030b
commit
403ae8dc90
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
FusionPBX
|
FusionPBX
|
||||||
Version: MPL 1.1
|
Version: MPL 1.1
|
||||||
|
|
@ -43,8 +43,8 @@
|
||||||
$text = $language->get();
|
$text = $language->get();
|
||||||
|
|
||||||
//get the queue_name and set it as a variable
|
//get the queue_name and set it as a variable
|
||||||
$queue_name = $_GET[queue_name];
|
$queue_name = $_GET['queue_name'];
|
||||||
$queue_name = str_replace(" ", "-", $queue_name);
|
$name = $_GET['name'];
|
||||||
|
|
||||||
//get the header
|
//get the header
|
||||||
require_once "resources/header.php";
|
require_once "resources/header.php";
|
||||||
|
|
@ -87,7 +87,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
var requestTime = function() {
|
var requestTime = function() {
|
||||||
var url = 'call_center_active_inc.php?queue_name=<?php echo $queue_name; ?>';
|
var url = 'call_center_active_inc.php?queue_name=<?php echo $queue_name; ?>&name=<?php echo urlencode($name); ?>';
|
||||||
new loadXmlHttp(url, 'ajax_response');
|
new loadXmlHttp(url, 'ajax_response');
|
||||||
<?php
|
<?php
|
||||||
if (strlen($_SESSION["ajax_refresh_rate"]) == 0) { $_SESSION["ajax_refresh_rate"] = "1777"; }
|
if (strlen($_SESSION["ajax_refresh_rate"]) == 0) { $_SESSION["ajax_refresh_rate"] = "1777"; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue