X-Git-Url: http://git.uio.no/git/?p=usit-rt.git;a=blobdiff_plain;f=share%2Fhtml%2FElements%2FEditCustomFieldText;h=d310b8fa66d91987c7f9231877913ca3f90fd482;hp=c169740d58eafdd044ca5643ca9b484d902c253c;hb=c33a4027369d767810c2d24ad54d6e61599ff823;hpb=403d7b0b0eb7d2535f279adb134aecb4fde2438d diff --git a/share/html/Elements/EditCustomFieldText b/share/html/Elements/EditCustomFieldText index c169740..d310b8f 100644 --- a/share/html/Elements/EditCustomFieldText +++ b/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-2014 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