Bugzilla – Attachment 66462 Details for
Bug 18447
Datepicker only shows -10/+10 years for date of birth
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18447 - QA Followup - fix opac usage
Bug-18447---QA-Followup---fix-opac-usage.patch (text/plain), 1.65 KB, created by
Marcel de Rooy
on 2017-08-25 07:57:59 UTC
(
hide
)
Description:
Bug 18447 - QA Followup - fix opac usage
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-08-25 07:57:59 UTC
Size:
1.65 KB
patch
obsolete
>From dc6be5798a8de93780ac8a8bb72cd59a9a4081b8 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 28 Jul 2017 10:52:45 +0000 >Subject: [PATCH] Bug 18447 - QA Followup - fix opac usage >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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 760e990..018cdb6 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 231e2bf..65e4279 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.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18447
:
62300
|
62306
|
62323
|
65116
|
65117
|
65118
|
65135
|
65136
|
65137
|
65140
|
65141
|
65142
|
65309
|
66459
|
66460
|
66461
| 66462 |
67448