From 249e721ba4b5f60c1d6f4567efd71a4609e60a98 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 28 Jul 2017 10:52:45 +0000 Subject: [PATCH] Bug 18447 - QA Followup - fix opac usage Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc index 760e990164..018cdb6c60 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc @@ -60,7 +60,7 @@ yearRange: "c-100:c+10" }); - $("#dateofbirth").datepicker({ + $("#borrower_dateofbirth").datepicker({ yearRange: "c-100:c" }); diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt index 231e2bf70c..65e4279fb7 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -997,8 +997,6 @@ $('#memberentry-form :radio').attr('disabled',true); $('span.required').remove(); $('label.required').removeClass('required'); - [% ELSE %] - $( "#borrower_dateofbirth" ).datepicker({ yearRange: "c-120:c" }); [% END %] $("#memberentry-form").validate({ -- 2.39.5