Fixed bug in email when agent choose in-groups is disabled, vicidial.php 2.7 trunk
git-svn-id: svn://192.168.202.10@1991 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -402,10 +402,10 @@
|
||||
# 130417-1937 - Changed locked agent choose in-group/closer/territories to auto-close
|
||||
# 130508-2223 - Cleanup for other language builds
|
||||
# 130508-2255 - Release version 2.7
|
||||
#
|
||||
# 130603-2055 - Fixed bug in email when agent choose in-groups is disabled
|
||||
|
||||
$version = '2.7-370c';
|
||||
$build = '130508-2255';
|
||||
$version = '2.7-371c';
|
||||
$build = '130603-2055';
|
||||
$mel=1; # Mysql Error Log enabled = 1
|
||||
$mysql_log_count=79;
|
||||
$one_mysql_log=0;
|
||||
@@ -10889,6 +10889,26 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
||||
}
|
||||
else
|
||||
{
|
||||
# Added to get email counts so inbound emails will come in - this is normally done in CloserSelectContent_select, which is bypassed if agents aren't allowed to select ingroups
|
||||
var loop_ct = 0;
|
||||
EMAILgroupCOUNT = 0;
|
||||
PHONEgroupCOUNT = 0;
|
||||
incomingEMAILS = 0;
|
||||
while (loop_ct < INgroupCOUNT)
|
||||
{
|
||||
if (VARingroup_handlers[loop_ct]=="EMAIL")
|
||||
{
|
||||
incomingEMAILgroups[incomingEMAILS]=VARingroups[loop_ct];
|
||||
EMAILgroupCOUNT++;
|
||||
incomingEMAILS++;
|
||||
}
|
||||
else
|
||||
{
|
||||
PHONEgroupCOUNT++;
|
||||
}
|
||||
loop_ct++;
|
||||
}
|
||||
|
||||
VU_agent_choose_ingroups_DV = "MGRLOCK";
|
||||
var live_CSC_HTML = "Manager has selected groups for you<br />";
|
||||
document.vicidial_form.CloserSelectList.value = '';
|
||||
|
||||
Reference in New Issue
Block a user