From 5a7c843fc80ec80f96e40a5540a11658e7ac8e7a Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 19 Jul 2017 17:27:24 +0000 Subject: [PATCH] [SIGNED-OFF] Bug 18447 - Add changes to opac MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc VĂ©ron Signed-off-by: Josef Moravec Signed-off-by: Josef Moravec --- koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc index 533217f..760e990 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc @@ -56,7 +56,12 @@ 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(); -- 2.1.4