X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FEditCustomFieldText;h=4dfc4d438a1af7efe8ecbf8c917a313b2986cdaa;hp=ca7a266c39e5215678bcc225dde09b0a9209c2cc;hb=7322f2afedcc2f427e997d1535a503613a83f088;hpb=c5922713bc199600bc8c203155a4016c9d24cbbc diff --git a/rt/share/html/Elements/EditCustomFieldText b/rt/share/html/Elements/EditCustomFieldText index ca7a266c3..4dfc4d438 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-2016 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -53,7 +53,7 @@ cols="<% $Cols %>" \ % if ( defined $Rows ) { rows="<% $Rows %>" \ % } -name="<%$NamePrefix%><%$CustomField->Id%>-Values" class="CF-<%$CustomField->id%>-Edit"><% $value->Content %>
+name="<%$name%>" class="CF-<%$CustomField->id%>-Edit"><% $value->Content %>
% } % if (!$MaxValues or !$Values or $Values->Count < $MaxValues) { +name="<%$name%>" class="CF-<%$CustomField->id%>-Edit"><% defined($Default) ? $Default : '' %> % } <%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