[freeside-commits] freeside/rt/share/html/Elements SelectDate, 1.2, 1.3
Ivan,,,
ivan at wavetail.420.am
Tue Jul 20 19:06:46 PDT 2010
Update of /home/cvs/cvsroot/freeside/rt/share/html/Elements
In directory wavetail.420.am:/tmp/cvs-serv6283/rt/share/html/Elements
Modified Files:
SelectDate
Log Message:
fix calendar popup for weirdly named fields in RT, for the quotes around custom field bullshit, RT#8449
Index: SelectDate
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/SelectDate,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- SelectDate 20 Mar 2010 22:11:37 -0000 1.2
+++ SelectDate 21 Jul 2010 02:06:44 -0000 1.3
@@ -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>
More information about the freeside-commits
mailing list