X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FEditCustomFieldWikitext;h=f3c4668fbd4db0e12dea576e232d98e7c470eb0c;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=a07317e2f52f4f49f1829a48df90223840eab3e8;hpb=43a06151e47d2c59b833cbd8c26d97865ee850b6;p=freeside.git diff --git a/rt/share/html/Elements/EditCustomFieldWikitext b/rt/share/html/Elements/EditCustomFieldWikitext index a07317e2f..f3c4668fb 100644 --- a/rt/share/html/Elements/EditCustomFieldWikitext +++ b/rt/share/html/Elements/EditCustomFieldWikitext @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 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 => undef +$Name => undef $Default => undef $Values => undef $MaxValues => undef