From fa91b54f42835bd0a4f6cb4dedeb703801b7b2f8 Mon Sep 17 00:00:00 2001 From: mattf Date: Sat, 18 Dec 2010 20:23:06 +0000 Subject: [PATCH] small fix for realtime_report.php git-svn-id: svn://192.168.202.10@1580 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/vicidial/realtime_report.php | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/agc_2-X/trunk/www/vicidial/realtime_report.php b/agc_2-X/trunk/www/vicidial/realtime_report.php index cfc41260..5428f958 100644 --- a/agc_2-X/trunk/www/vicidial/realtime_report.php +++ b/agc_2-X/trunk/www/vicidial/realtime_report.php @@ -12,10 +12,11 @@ # # CHANGELOG: # 101216-1355 - First Build +# 101218-1520 - small time reload bug fix and formatting fixes # -$version = '2.4-1'; -$build = '101215-0434'; +$version = '2.4-2'; +$build = '101218-1520'; header ("Content-type: text/html; charset=utf-8"); @@ -596,7 +597,7 @@ if (strlen($monitor_phone)>1) window.onload = startup; -// function to detect the XY position on the page of the mouse +// functions to detect the XY position on the page of the mouse function startup() { hideDiv('webphone_content'); @@ -666,8 +667,8 @@ function hideDiv(divvar) } } -// function to launch monitoring calls +// function to launch monitoring calls function send_monitor(session_id,server_ip,stage) { // alert(session_id + "|" + server_ip + "|" + monitor_phone + "|" + stage + "|" + user); @@ -715,6 +716,7 @@ function send_monitor(session_id,server_ip,stage) } } + // function to change in-groups selected for a specific agent function submit_ingroup_changes(temp_agent_user) { @@ -792,6 +794,7 @@ function submit_ingroup_changes(temp_agent_user) } } + // function to display in-groups selected for a specific agent function ingroup_info(agent_user,count) { @@ -845,6 +848,7 @@ function ingroup_info(agent_user,count) } } + // function to display in-groups selected for a specific agent function hide_ingroup_info() { @@ -879,6 +883,8 @@ function realtime_refresh_display() } } + +// function to gather calls and agents statistical content function gather_realtime_content() { var xmlhttp=false; @@ -919,6 +925,8 @@ function gather_realtime_content() } } + +// function to update variables based upon on-page links and forms without reload page(in most cases) function update_variables(task_option,task_choice,force_reload) { if (task_option == 'SIPmonitorLINK') @@ -1004,6 +1012,7 @@ function update_variables(task_option,task_choice,force_reload) var RRFORM = document.getElementById('RR'); RR = RRFORM[RRFORM.selectedIndex].value; ar_refresh=RR; + ar_seconds=RR; var with_inboundFORM = document.getElementById('with_inbound'); with_inbound = with_inboundFORM[with_inboundFORM.selectedIndex].value; var monitor_activeFORM = document.getElementById('monitor_active');