From e4b0cc011f8bf7dd7db2339f1ba084821f43f073 Mon Sep 17 00:00:00 2001 From: mattf Date: Fri, 9 Nov 2012 21:15:33 +0000 Subject: [PATCH] small logging bugfix in vicidial.php when webphone is in use git-svn-id: svn://192.168.202.10@1870 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/agc/vicidial.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index 0f0f9f44..6f9ecbcb 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -9623,7 +9623,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection) WaitingForNextStep=0; nochannelinsession=0; } - function NoneInSessionCalL() + function NoneInSessionCalL(tempstate) { hideDiv('NoneInSessionBox'); WaitingForNextStep=0; @@ -9677,7 +9677,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection) } delete xmlhttp; } - if (auto_dial_level > 0) + if ( (auto_dial_level > 0) && (tempstate != 'LOGIN') ) { AutoDial_ReSume_PauSe("VDADpause"); } @@ -12157,7 +12157,7 @@ function phone_number_format(formatphone) { if (is_webphone=='Y') { NoneInSession(); - document.getElementById("NoneInSessionLink").innerHTML = "Call Agent Webphone ->"; + document.getElementById("NoneInSessionLink").innerHTML = "Call Agent Webphone ->"; var WebPhonEtarget = 'webphonewindow';