Small fix for Issue #1188, allow dial override

git-svn-id: svn://192.168.202.10@3222 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2020-04-08 14:11:40 +00:00
parent 5f92645586
commit 1f75291670
+5 -4
View File
@@ -635,10 +635,11 @@
# 200406-0949 - Fix for manual dial box with no phone number, Issue #1188
# 200406-1205 - Fix for gender custom field population, Issue #1205
# 200407-1822 - Added Agent Browser Call Alert Sounds
# 200408-0952 - Small fix for Issue #1188, allow dial override
#
$version = '2.14-604c';
$build = '200407-1822';
$version = '2.14-605c';
$build = '200408-0952';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=91;
$one_mysql_log=0;
@@ -8739,9 +8740,9 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
if (MDLeadIDEntryform.length > 0)
{MDLeadIDform = document.vicidial_form.MDLeadIDEntry.value;}
if ( (NeWManuaLDiaLBox_open > 0) && (MDPhonENumbeRform.length < 5) && (MDLeadIDform.length < 1) )
if ( (NeWManuaLDiaLBox_open > 0) && (MDPhonENumbeRform.length < 5) && (MDLeadIDform.length < 1) && (MDDiaLOverridEform.length < 1) )
{
button_click_log = button_click_log + "" + SQLdate + "-----ManDialEmptyPhone---" + agent_log_id + " " + NeWManuaLDiaLBox_open + " " + MDPhonENumbeRform + " " + MDLeadIDform + "|";
button_click_log = button_click_log + "" + SQLdate + "-----ManDialEmptyPhone---" + agent_log_id + " " + NeWManuaLDiaLBox_open + " " + MDPhonENumbeRform + " " + MDLeadIDform + " " + MDDiaLOverridEform + "|";
alert_box("<?php echo _QXZ("YOU MUST ENTER A PHONE NUMBER TO USE MANUAL DIAL"); ?>");
}
else