X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FEditCustomFieldText;h=395295eeacc809555d83f272e35b45b1af130feb;hp=866460472596c5941f70b33d5a389fa84fe7b3f6;hb=187086c479a09629b7d180eec513fb7657f4e291;hpb=e9e0cf0989259b94d9758eceff448666a2e5a5cc diff --git a/rt/share/html/Elements/EditCustomFieldText b/rt/share/html/Elements/EditCustomFieldText index 866460472..395295eea 100644 --- a/rt/share/html/Elements/EditCustomFieldText +++ b/rt/share/html/Elements/EditCustomFieldText @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2018 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -46,19 +46,35 @@ %# %# END BPS TAGGED BLOCK }}} % while ($Values and my $value = $Values->Next ) { -
+
% } % if (!$MaxValues or !$Values or $Values->Count < $MaxValues) { - + % } <%INIT> # XXX - MultiValue textarea is for now outlawed. $MaxValues = 1; +my $name = $Name || $NamePrefix . $CustomField->Id . '-Values'; <%ARGS> $Object => undef $CustomField => undef $NamePrefix => '' +$Name => undef $Default => undef $Values => undef $MaxValues => undef