From 4e852b9f69a06710e5b0c7e2a26011d8dacda808 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 19 Jul 2017 17:27:24 +0000 Subject: [PATCH] Bug 18447 - Add changes to opac MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc Véron Signed-off-by: Josef Moravec Signed-off-by: Josef Moravec Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- 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 533217f5ae..760e990164 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.39.5