summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-11-28 08:55:29 -0500
committerChristopher Burger <burgerc@freeside.biz>2018-11-28 09:17:23 -0500
commit6d70b39843cf76f10e676e1861d613b15c0bb905 (patch)
tree794a8c25c4118e0037fa7ecd75e8141c8c7851fc /httemplate/edit/process
parent650b4480c920e4d2a0d7e45cdfa2ac9ffa364f60 (diff)
RT# 81126 - IP address field now shows required when required, IP address and Radius Group sticky on error when provisioning svc broadband
Diffstat (limited to 'httemplate/edit/process')
-rw-r--r--httemplate/edit/process/elements/process.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/edit/process/elements/process.html b/httemplate/edit/process/elements/process.html
index d2b037053..0e9edb064 100644
--- a/httemplate/edit/process/elements/process.html
+++ b/httemplate/edit/process/elements/process.html
@@ -109,6 +109,12 @@ Example:
</%doc>
%if ( $error ) {
+% ## flatten any array refs so multi selects are sticky on error
+% for my $param ($cgi->param) {
+% if (ref($cgi->param($param)) eq "ARRAY") {
+% $cgi->param($param, (join ",", @{$cgi->param($param)}));
+% }
+% }
%
% #my $query = $m->scomp('/elements/create_uri_query');
% #$cgi->redirect("$url?$query");