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
This commit is contained in:
mattf
2012-11-09 21:15:33 +00:00
parent 98df4848e0
commit e4b0cc011f
+3 -3
View File
@@ -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 = "<a href=\"#\" onclick=\"NoneInSessionCalL();return false;\">Call Agent Webphone -></a>";
document.getElementById("NoneInSessionLink").innerHTML = "<a href=\"#\" onclick=\"NoneInSessionCalL('LOGIN');return false;\">Call Agent Webphone -></a>";
var WebPhonEtarget = 'webphonewindow';