X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FEditCustomFieldText;h=84d37e3ecaae227be0628d0d114d58d94179f566;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=c169740d58eafdd044ca5643ca9b484d902c253c;hpb=7588a4ac90a9b07c08a3107cd1107d773be1c991;p=freeside.git diff --git a/rt/share/html/Elements/EditCustomFieldText b/rt/share/html/Elements/EditCustomFieldText index c169740d5..84d37e3ec 100644 --- a/rt/share/html/Elements/EditCustomFieldText +++ b/rt/share/html/Elements/EditCustomFieldText @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2019 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