From 7141162710cc181f6178e3cc4302779935dd9257 Mon Sep 17 00:00:00 2001 From: Owen Leonard <oleonard@myacpl.org> Date: Tue, 19 Jul 2011 15:42:55 -0400 Subject: [PATCH] Fix for Bug 6608 - Date-pickers broken on guided reports pages Content-Type: text/plain; charset="utf-8" Template variable scope errors. --- .../prog/en/modules/reports/dictionary.tt | 4 ++-- .../en/modules/reports/guided_reports_start.tt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt index c4a8da5..f6d48ba 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt @@ -214,7 +214,7 @@ <script type="text/javascript"> Calendar.setup({ inputField : "[% column.name %]_start_value", -ifFormat : "[% column.DHTMLcalendar_dateformat %]", +ifFormat : "[% DHTMLcalendar_dateformat %]", button : "buttonfrom1", align : "Tl" }); @@ -230,7 +230,7 @@ align : "Tl" <script type="text/javascript"> Calendar.setup({ inputField : "[% column.name %]_end_value", -ifFormat : "[% column.DHTMLcalendar_dateformat %]", +ifFormat : "[% DHTMLcalendar_dateformat %]", button : "buttonfrom2", align : "Tl" }); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 04cfb43..d478926 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -331,7 +331,7 @@ canned reports and writing custom SQL reports.</p> <script type="text/javascript"> Calendar.setup({ inputField : "[% criteri.name %]_value", - ifFormat : "[% criteri.DHTMLcalendar_dateformat %]", + ifFormat : "[% DHTMLcalendar_dateformat %]", button : "buttonfrom[% criteri.name %]", align : "Tl" }); @@ -354,7 +354,7 @@ canned reports and writing custom SQL reports.</p> <script type="text/javascript"> Calendar.setup({ inputField : "from_[% criteri.name %]_value", - ifFormat : "[% criteri.DHTMLcalendar_dateformat %]", + ifFormat : "[% DHTMLcalendar_dateformat %]", button : "buttonfromfrom_[% criteri.name %]", align : "Tl" }); @@ -365,7 +365,7 @@ canned reports and writing custom SQL reports.</p> <script type="text/javascript"> Calendar.setup({ inputField : "to_[% criteri.name %]_value", - ifFormat : "[% criteri.DHTMLcalendar_dateformat %]", + ifFormat : "[% DHTMLcalendar_dateformat %]", button : "buttonfromto_[% criteri.name %]", align : "Tl" }); -- 1.7.3