diff options
author | ivan <ivan> | 2010-07-21 02:06:44 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-07-21 02:06:44 +0000 |
commit | 1932aeb09f14c6293905882806fd50a277e45ee9 (patch) | |
tree | ad62531b9879a09c78a64fb19597bf36e5d394db /rt | |
parent | f794037a8c67dccf85bef34c7a865e3ed151b24c (diff) |
fix calendar popup for weirdly named fields in RT, for the quotes around custom field bullshit, RT#8449
Diffstat (limited to 'rt')
-rwxr-xr-x | rt/share/html/Elements/SelectDate | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rt/share/html/Elements/SelectDate b/rt/share/html/Elements/SelectDate index 183086f3d..46092ce23 100755 --- a/rt/share/html/Elements/SelectDate +++ b/rt/share/html/Elements/SelectDate @@ -50,14 +50,14 @@ <IMG SRC="<%$fsurl%>images/calendar.png" ID="<% $Name %>_date_button" STYLE="cursor: pointer" TITLE="Select date"> <script type="text/javascript"> Calendar.setup({ - inputField: "<%$Name%>", + inputField: <% $Name |n,js_string %>, % if ( defined($ShowTime) && $ShowTime ) { ifFormat: "%Y-%m-%d %H:%M", showsTime: true, % } else { ifFormat: "%Y-%m-%d", % } - button: "<%$Name%>_date_button", + button: <% $Name.'_date_button' |n,js_string %>, }); </script> <%init> |