Bugzilla – Attachment 62300 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 - Datepicker only shows -10/+10 years
Bug-18447---Datepicker-only-shows--1010-years.patch (text/plain), 1.14 KB, created by
Nick Clemens (kidclamp)
on 2017-04-18 15:03:02 UTC
(
hide
)
Description:
Bug 18447 - Datepicker only shows -10/+10 years
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2017-04-18 15:03:02 UTC
Size:
1.14 KB
patch
obsolete
>From ccaf64ef98a32ba25777963e33724f033fd44274 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 18 Apr 2017 10:57:20 -0400 >Subject: [PATCH] Bug 18447 - Datepicker only shows -10/+10 years > >To test: >1 - Open some date pickers (patron entry, subscriptions, anywhere really) >2 - Note that default is 10 years in either direction, updated when you >select >3 - Apply patch >4 - Note we now get -100 years / +10 years from current selection >5 -Sign off >--- > koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >index f6d9e9b..4c96df7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >@@ -135,7 +135,8 @@ $.datepicker.setDefaults({ > buttonImageOnly: true, > showButtonPanel: true, > showOtherMonths: true, >- selectOtherMonths: true >+ selectOtherMonths: true, >+ yearRange: "c-100:c+10" > }); > > $( ".datepicker" ).datepicker({ >-- >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