Bug 18447 - Add changes to opac
authorNick Clemens <nick@bywatersolutions.com>
Wed, 19 Jul 2017 17:27:24 +0000 (17:27 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 25 Aug 2017 14:38:46 +0000 (11:38 -0300)
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc

index 533217f..760e990 100644 (file)
                 buttonImage: '[% interface %]/lib/famfamfam/silk/calendar.png',
                 buttonImageOnly: true,
                 showButtonPanel: true,
-                showOtherMonths: true
+                showOtherMonths: true,
+                yearRange: "c-100:c+10"
+            });
+
+        $("#dateofbirth").datepicker({
+                yearRange: "c-100:c"
             });
 
             $( ".datepicker" ).datepicker();