diff --git a/agc_2-X/branches/agc_2.0.4/www/agc/vicidial.php b/agc_2-X/branches/agc_2.0.4/www/agc/vicidial.php
index 28c37819..2a11c7f1 100644
--- a/agc_2-X/branches/agc_2.0.4/www/agc/vicidial.php
+++ b/agc_2-X/branches/agc_2.0.4/www/agc/vicidial.php
@@ -175,10 +175,11 @@
# 80330-0823 - Added new AST_blind monitoring ability and minor cleanup for release
# 80402-0121 - Fixes for Manual Dial hangups and transfers
# 80428-0413 - UTF8 changes and testing
+# 80507-0932 - Fixed Script display bug (+ instead of space)
#
-$version = '2.0.4-146';
-$build = '80428-0413';
+$version = '2.0.4-147';
+$build = '80507-0932';
require("dbconnect.php");
@@ -3514,6 +3515,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;
}
@@ -3732,6 +3736,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;
}
@@ -4140,6 +4147,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;
}