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';