X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FEditCustomFieldWikitext;h=9d2e79feb3179179f338e29687aca666936f73ab;hb=740834abbf5434a60a7ded2c0b48430420e995a9;hp=d4b79cd38bef5cb4a76213f8f027faf913e159af;hpb=c5922713bc199600bc8c203155a4016c9d24cbbc;p=freeside.git diff --git a/rt/share/html/Elements/EditCustomFieldWikitext b/rt/share/html/Elements/EditCustomFieldWikitext index d4b79cd38..9d2e79feb 100644 --- a/rt/share/html/Elements/EditCustomFieldWikitext +++ b/rt/share/html/Elements/EditCustomFieldWikitext @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 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"><% $Default %> % } <%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