From a76b7fcaa79c1893c9c40944cfc4a28f80bafb13 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=utf-8 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 Signed-off-by: Marc VĂ©ron Signed-off-by: Josef Moravec Signed-off-by: Josef Moravec Signed-off-by: Marcel de Rooy --- 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