summaryrefslogtreecommitdiff
path: root/httemplate/edit/elements
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-02-19 14:42:25 -0500
committerChristopher Burger <burgerc@freeside.biz>2019-02-21 12:41:02 -0500
commit0df2eac272aa26a62431f5cd830c1cb7b1018e32 (patch)
tree294a6df17be7bf18b9584287b49ec8655a2f7f86 /httemplate/edit/elements
parentbf62797c5ca86fc7dce62ca2b371bbeb2dacac89 (diff)
RT# 82092 - custom fields now save and fixed so name label is displayed insted of actual field name
Conflicts: FS/FS/Record.pm httemplate/edit/process/cust_main.cgi
Diffstat (limited to 'httemplate/edit/elements')
-rw-r--r--httemplate/edit/elements/part_svc_column.html2
-rw-r--r--httemplate/edit/elements/svc_Common.html3
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 1e1ff79ee..80d325e59 100644
--- a/httemplate/edit/elements/part_svc_column.html
+++ b/httemplate/edit/elements/part_svc_column.html
@@ -98,7 +98,7 @@ that field.
<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'
);
}
}