Fix to agent screen to update default field if duplicate field in custom fields changed

git-svn-id: svn://192.168.202.10@2845 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2017-10-21 18:02:31 +00:00
parent 2455bca324
commit 9999462338
2 changed files with 13 additions and 3 deletions
+8 -2
View File
@@ -40,10 +40,11 @@
# 170317-0755 - Added more missing display variables
# 170331-2300 - Added more debug logging
# 170428-1215 - Small fix for admin modify lead display
# 171021-1339 - Fix to update default field if duplicate field in custom fields changed
#
$version = '2.14-30';
$build = '170428-1215';
$version = '2.14-31';
$build = '171021-1339';
$php_script = 'vdc_form_display.php';
require_once("dbconnect_mysqli.php");
@@ -530,6 +531,11 @@ else
echo " document.getElementById(taskspan).innerHTML = \" &nbsp; <a href=\\\"javascript:open_help('\" + taskspan + \"','\" + taskhelp + \"');\\\">help+</a>\";\n";
echo " document.getElementById(taskspan).style.background = \"white\";\n";
echo " }\n";
echo " function update_default_vd_field(taskfield) \n";
echo " {\n";
echo " var tempvalue = document.getElementById(taskfield).value;\n";
echo " parent.document.getElementById(taskfield).value = tempvalue;\n";
echo " }\n";
echo " </script>\n";
echo " <META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\">\n";
echo "</head>\n";