Update the files in calls active.

This commit is contained in:
Mark Crane
2012-11-24 02:50:11 +00:00
parent f50abd3005
commit c2f1d8eb54
7 changed files with 23 additions and 23 deletions
+2 -2
View File
@@ -168,7 +168,7 @@ if (this.xmlHttp.readyState == 4 && (this.xmlHttp.status == 200 || !/^http/.test
var requestTime = function() {
<?php
echo "var url = 'v_calls_active_extensions_inc.php?". $_SERVER["QUERY_STRING"]."';\n";
echo "var url = 'calls_active_extensions_inc.php?". $_SERVER["QUERY_STRING"]."';\n";
echo "new loadXmlHttp(url, 'ajax_reponse');\n";
if (strlen($_SESSION["ajax_refresh_rate"]) == 0) { $_SESSION["ajax_refresh_rate"] = "900"; }
echo "setInterval(function(){new loadXmlHttp(url, 'ajax_reponse');}, ".$_SESSION["ajax_refresh_rate"].");";
@@ -235,7 +235,7 @@ else {
//status list
echo " &nbsp;";
echo " <strong>".$text['label-status']."</strong>&nbsp;\n";
$cmd = "'v_calls_exec.php?action=user_status&data='+this.value+'";
$cmd = "'calls_exec.php?action=user_status&data='+this.value+'";
$cmd .= "&cmd=callcenter_config+agent+set+status+".$_SESSION['username']."@".$_SESSION['domain_name']."+'+this.value";
echo " <select id='agent_status' name='agent_status' class='formfld' style='width:125px' nowrap='nowrap' onchange=\"send_cmd($cmd);\">\n";
echo " <option value=' '></option>\n";