From 237b1bd6a0375ec4b9d3d1c04a1f41ab902d8db2 Mon Sep 17 00:00:00 2001 From: mattf Date: Sun, 5 Apr 2015 18:12:30 +0000 Subject: [PATCH] Fixed issue with API dialing and preview in vicidial.php git-svn-id: svn://192.168.202.10@2303 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/agc/vicidial.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index 4817aa26..423de286 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -482,10 +482,11 @@ # 150220-1533 - Fix for leave page confirmation after logout and QXZ fixes # 150302-0950 - Release of 2.11 stable branch and raising trunk to 2.12 # 150309-0315 - Added custom agent login prompt option +# 150405-1410 - Fixed issue with API dialing and preview # -$version = '2.12-454c'; -$build = '150309-0315'; +$version = '2.12-455c'; +$build = '150405-1410'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=85; $one_mysql_log=0; @@ -5222,6 +5223,8 @@ function set_length(SLnumber,SLlength_goal,SLdirection) {window.focus(); alert_box("");} if (APIDiaL_array_detail[3] == 'YES') {document.vicidial_form.LeadPreview.checked=true;} + if (APIDiaL_array_detail[3] == 'NO') + {document.vicidial_form.LeadPreview.checked=false;} ManualDialNext('','','','','','0'); } else @@ -5245,6 +5248,8 @@ function set_length(SLnumber,SLlength_goal,SLdirection) {document.vicidial_form.LeadLookuP.checked=false;} if (APIDiaL_array_detail[4] == 'YES') // focus on vicidial agent screen {window.focus(); alert_box("Placing call to:" + APIDiaL_array_detail[1] + " " + APIDiaL_array_detail[0]);} + if (APIDiaL_array_detail[3] == 'NO') // NO call preview + {document.vicidial_form.LeadPreview.checked=false;} if (APIDiaL_array_detail[3] == 'YES') // call preview {NeWManuaLDiaLCalLSubmiT('PREVIEW');} else