diff options
author | Christopher Burger <burgerc@freeside.biz> | 2019-02-19 14:42:25 -0500 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2019-02-19 14:42:25 -0500 |
commit | a7a22257d456394125eed32f8261c75a7f393ec2 (patch) | |
tree | 444e0a4e3594952c1ddb9212e65dd061b5f4866f /httemplate/edit/elements | |
parent | 772656864b377bbd2ef2febd40891ef1206b5be0 (diff) |
RT# 82092 - custom fields now save and fixed so name label is displayed insted of actual field name
Diffstat (limited to 'httemplate/edit/elements')
-rw-r--r-- | httemplate/edit/elements/part_svc_column.html | 2 | ||||
-rw-r--r-- | httemplate/edit/elements/svc_Common.html | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/edit/elements/part_svc_column.html b/httemplate/edit/elements/part_svc_column.html index bdbce7c79..075f15e2c 100644 --- a/httemplate/edit/elements/part_svc_column.html +++ b/httemplate/edit/elements/part_svc_column.html @@ -97,7 +97,7 @@ my %communigate_fields = ( <TD ROWSPAN=2 CLASS="grid"> <INPUT NAME="<% $svcdb %>__<% $field %>_label" STYLE="text-align: right" - VALUE="<% $part_svc_column->columnlabel || $def->{'label'} |h %>"> + VALUE="<% $part_svc_column->columnlabel || escapeHTML($def->{'label'}) |h %>"> </TD> <TD ROWSPAN=1 CLASS="grid"> diff --git a/httemplate/edit/elements/svc_Common.html b/httemplate/edit/elements/svc_Common.html index e1c309080..e5dc55979 100644 --- a/httemplate/edit/elements/svc_Common.html +++ b/httemplate/edit/elements/svc_Common.html @@ -227,7 +227,8 @@ $html .= $svc_x->pvf($field)->widget( 'HTML', 'edit', - $svc_x->getfield($field) + $svc_x->getfield($field), + 'TH' ); } } |