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>
This commit is contained in:
Owen Leonard 2011-07-19 02:08:52 -04:00 committed by Chris Cormack
parent 9d21892cec
commit 6e2e58107f
2 changed files with 5 additions and 5 deletions

View file

@ -214,7 +214,7 @@
<script type="text/javascript"> <script type="text/javascript">
Calendar.setup({ Calendar.setup({
inputField : "[% column.name %]_start_value", inputField : "[% column.name %]_start_value",
ifFormat : "[% column.DHTMLcalendar_dateformat %]", ifFormat : "[% DHTMLcalendar_dateformat %]",
button : "buttonfrom1", button : "buttonfrom1",
align : "Tl" align : "Tl"
}); });
@ -230,7 +230,7 @@ align : "Tl"
<script type="text/javascript"> <script type="text/javascript">
Calendar.setup({ Calendar.setup({
inputField : "[% column.name %]_end_value", inputField : "[% column.name %]_end_value",
ifFormat : "[% column.DHTMLcalendar_dateformat %]", ifFormat : "[% DHTMLcalendar_dateformat %]",
button : "buttonfrom2", button : "buttonfrom2",
align : "Tl" align : "Tl"
}); });

View file

@ -331,7 +331,7 @@ canned reports and writing custom SQL reports.</p>
<script type="text/javascript"> <script type="text/javascript">
Calendar.setup({ Calendar.setup({
inputField : "[% criteri.name %]_value", inputField : "[% criteri.name %]_value",
ifFormat : "[% criteri.DHTMLcalendar_dateformat %]", ifFormat : "[% DHTMLcalendar_dateformat %]",
button : "buttonfrom[% criteri.name %]", button : "buttonfrom[% criteri.name %]",
align : "Tl" align : "Tl"
}); });
@ -354,7 +354,7 @@ canned reports and writing custom SQL reports.</p>
<script type="text/javascript"> <script type="text/javascript">
Calendar.setup({ Calendar.setup({
inputField : "from_[% criteri.name %]_value", inputField : "from_[% criteri.name %]_value",
ifFormat : "[% criteri.DHTMLcalendar_dateformat %]", ifFormat : "[% DHTMLcalendar_dateformat %]",
button : "buttonfromfrom_[% criteri.name %]", button : "buttonfromfrom_[% criteri.name %]",
align : "Tl" align : "Tl"
}); });
@ -365,7 +365,7 @@ canned reports and writing custom SQL reports.</p>
<script type="text/javascript"> <script type="text/javascript">
Calendar.setup({ Calendar.setup({
inputField : "to_[% criteri.name %]_value", inputField : "to_[% criteri.name %]_value",
ifFormat : "[% criteri.DHTMLcalendar_dateformat %]", ifFormat : "[% DHTMLcalendar_dateformat %]",
button : "buttonfromto_[% criteri.name %]", button : "buttonfromto_[% criteri.name %]",
align : "Tl" align : "Tl"
}); });