Fix for Bug 6608 - Date-pickers broken on guided reports pages
authorOwen Leonard <oleonard@myacpl.org>
Tue, 19 Jul 2011 06:08:52 +0000 (02:08 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 19 Jul 2011 21:36:20 +0000 (09:36 +1200)
Template variable scope errors.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt

index c4a8da5..f6d48ba 100644 (file)
 <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"                  
 });
index 0c1767b..e3df4e2 100644 (file)
@@ -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" 
                 });