summaryrefslogtreecommitdiff
path: root/rt/share/html/Elements/EditCustomFieldDateTime
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-07-09 22:18:55 -0700
committerIvan Kohler <ivan@freeside.biz>2015-07-09 22:27:04 -0700
commite131b1f71f08b69abb832c1687d1f29682d171f8 (patch)
tree490167e41d9fe05b760e7b21a96ee35a86f8edda /rt/share/html/Elements/EditCustomFieldDateTime
parentd05d7346bb2387fd9d0354923d577275c5c7f019 (diff)
RT 4.2.11, ticket#13852
Diffstat (limited to 'rt/share/html/Elements/EditCustomFieldDateTime')
-rw-r--r--rt/share/html/Elements/EditCustomFieldDateTime3
1 files changed, 2 insertions, 1 deletions
diff --git a/rt/share/html/Elements/EditCustomFieldDateTime b/rt/share/html/Elements/EditCustomFieldDateTime
index 28fecd31d..0ca7bb2c4 100644
--- a/rt/share/html/Elements/EditCustomFieldDateTime
+++ b/rt/share/html/Elements/EditCustomFieldDateTime
@@ -45,7 +45,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-% my $name = $NamePrefix.$CustomField->Id.'-Values';
+% my $name = $Name || $NamePrefix.$CustomField->Id.'-Values';
<& /Elements/SelectDate, Name => "$name", current => 0, $KeepValue && $Default ? (Default => $Default) : () &> (<%$DateObj->AsString($KeepValue ? ( Timezone => 'utc' ) : () )%>)
<%INIT>
@@ -59,6 +59,7 @@ $NamePrefix => undef
$Default => undef
$Values => undef
$MaxValues => 1
+$Name => undef
$Format => 'ISO'
$KeepValue => undef
</%ARGS>