Browse Source

Fix for Bug 6608 - Date-pickers broken on guided reports pages

Template variable scope errors.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
3.6.x-rmaint/testing
Owen Leonard 13 years ago
committed by Chris Cormack
parent
commit
6e2e58107f
  1. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt
  2. 6
      koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt

4
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"
});

6
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"
});

Loading…
Cancel
Save