diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php
index 136ec283..aa8a22ee 100644
--- a/www/agc/vicidial.php
+++ b/www/agc/vicidial.php
@@ -174,10 +174,11 @@
# 80416-0559 - Added ability to log computer_ip at login, set the $PhoneSComPIP variable
# 80428-0413 - UTF8 changes and testing
# 80505-0054 - Added multi-phones load-balanced alias option
+# 80507-0932 - Fixed Script display bug (+ instead of space)
#
-$version = '2.0.5-153';
-$build = '80505-0054';
+$version = '2.0.5-154';
+$build = '80507-0932';
require("dbconnect.php");
@@ -2803,6 +2804,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{var redirecttype = 'RedirectXtraCX';}
else
{var redirecttype = 'RedirectXtra';}
+ // {var redirecttype = 'RedirectXtraNeW';}
DispO3waychannel = redirectvalue;
DispO3wayXtrAchannel = redirectXTRAvalue;
DispO3wayCalLserverip = redirectserverip;
@@ -3641,6 +3643,9 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
var textname = decoded;
URLDecode(scripttexts[campaign_script],'YES');
var texttext = decoded;
+ var regWFplus = new RegExp("\\+","ig");
+ textname = textname.replace(regWFplus, ' ');
+ texttext = texttext.replace(regWFplus, ' ');
var testscript = "" + textname + "\n\n
\n\n" + texttext;
document.getElementById("ScriptContents").innerHTML = testscript;
}
@@ -3859,6 +3864,9 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
var textname = decoded;
URLDecode(scripttexts[campaign_script],'YES');
var texttext = decoded;
+ var regWFplus = new RegExp("\\+","ig");
+ textname = textname.replace(regWFplus, ' ');
+ texttext = texttext.replace(regWFplus, ' ');
var testscript = "" + textname + "\n\n
\n\n" + texttext;
document.getElementById("ScriptContents").innerHTML = testscript;
}
@@ -4286,6 +4294,9 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
var textname = decoded;
URLDecode(scripttexts[CalL_ScripT_id],'YES');
var texttext = decoded;
+ var regWFplus = new RegExp("\\+","ig");
+ textname = textname.replace(regWFplus, ' ');
+ texttext = texttext.replace(regWFplus, ' ');
var testscript = "" + textname + "\n\n
\n\n" + texttext;
document.getElementById("ScriptContents").innerHTML = testscript;
}
@@ -6974,7 +6985,7 @@ RECORDING FILE:
RECORD ID:



