projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.16
[freeside.git]
/
rt
/
share
/
html
/
Elements
/
EditCustomFieldWikitext
diff --git
a/rt/share/html/Elements/EditCustomFieldWikitext
b/rt/share/html/Elements/EditCustomFieldWikitext
index
b75fc99
..
f3c4668
100644
(file)
--- a/
rt/share/html/Elements/EditCustomFieldWikitext
+++ b/
rt/share/html/Elements/EditCustomFieldWikitext
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
5
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
9
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-53,7
+53,7
@@
cols="<% $Cols %>" \
% if ( defined $Rows ) {
rows="<% $Rows %>" \
% }
% if ( defined $Rows ) {
rows="<% $Rows %>" \
% }
-name="<%$
NamePrefix%><%$CustomField->Id%>-Values
" class="CF-<%$CustomField->id%>-Edit"><% $value->Content %></textarea><br />
+name="<%$
name%>
" class="CF-<%$CustomField->id%>-Edit"><% $value->Content %></textarea><br />
% }
% if (!$MaxValues or !$Values or $Values->Count < $MaxValues) {
<textarea \
% }
% if (!$MaxValues or !$Values or $Values->Count < $MaxValues) {
<textarea \
@@
-63,16
+63,18
@@
cols="<% $Cols %>" \
% if ( defined $Rows ) {
rows="<% $Rows %>" \
% }
% if ( defined $Rows ) {
rows="<% $Rows %>" \
% }
-name="<%$
NamePrefix%><%$CustomField->Id%>-Values
" class="CF-<%$CustomField->id%>-Edit"><% $Default %></textarea>
+name="<%$
name%>
" class="CF-<%$CustomField->id%>-Edit"><% $Default %></textarea>
% }
<%INIT>
# XXX - MultiValue textarea is for now outlawed.
$MaxValues = 1;
% }
<%INIT>
# XXX - MultiValue textarea is for now outlawed.
$MaxValues = 1;
+my $name = $Name || $NamePrefix . $CustomField->Id . '-Values';
</%INIT>
<%ARGS>
$Object => undef
$CustomField => undef
$NamePrefix => undef
</%INIT>
<%ARGS>
$Object => undef
$CustomField => undef
$NamePrefix => undef
+$Name => undef
$Default => undef
$Values => undef
$MaxValues => undef
$Default => undef
$Values => undef
$MaxValues => undef