Small fix to Hide preview call if preview campaign option is disabled in vicidial.php

git-svn-id: svn://192.168.202.10@2854 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2017-11-15 12:14:42 +00:00
parent e3ac09f747
commit 8fc9728607
+17 -2
View File
@@ -568,11 +568,11 @@
# 170923-1336 - Small change to hangup customer process
# 171011-1524 - Added webphone_layout options
# 171026-0109 - Small change for email queue_log logging
# 171114-1033 - Hide preview call if preview campaign option is disabled
# 171115-0713 - Hide preview call if preview campaign option is disabled
#
$version = '2.14-539c';
$build = '171114-1033';
$build = '171115-0713';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=87;
$one_mysql_log=0;
@@ -9644,6 +9644,11 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
last_call_date='';
inbound_post_call_survey='';
inbound_survey_participate='';
if (manual_dial_preview < 1)
{
document.vicidial_form.LeadPreview.checked=false;
hideDiv("DiaLLeaDPrevieW");
}
// document.getElementById('vcFormIFrame').src='./vdc_form_display.php?lead_id=&list_id=&stage=WELCOME';
}
}
@@ -12518,6 +12523,11 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
consult_custom_go=0;
consult_custom_sent=0;
xfer_agent_selected=0;
if (manual_dial_preview < 1)
{
document.vicidial_form.LeadPreview.checked=false;
hideDiv("DiaLLeaDPrevieW");
}
// DEACTIVATE CHANNEL-DEPENDANT BUTTONS AND VARIABLES
@@ -13449,6 +13459,11 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
{
manual_dial_finished();
}
if (manual_dial_preview < 1)
{
document.vicidial_form.LeadPreview.checked=false;
hideDiv("DiaLLeaDPrevieW");
}
if (hide_gender < 1)
{
document.getElementById("GENDERhideFORieALT").innerHTML = '';