Bugzilla – Attachment 151646 Details for
Bug 33821
OPAC flatpickr no longer allows for direct input of date
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33821: Allow direct input of dates on the OPAC
Bug-33821-Allow-direct-input-of-dates-on-the-OPAC.patch (text/plain), 1.10 KB, created by
ByWater Sandboxes
on 2023-05-24 16:07:17 UTC
(
hide
)
Description:
Bug 33821: Allow direct input of dates on the OPAC
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2023-05-24 16:07:17 UTC
Size:
1.10 KB
patch
obsolete
>From d88c1b7923894854db21a2cb757436e83c250598 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 24 May 2023 15:13:12 +0000 >Subject: [PATCH] Bug 33821: Allow direct input of dates on the OPAC > >To test: >1. Apply patch >2. Go to OPAC self registration and try to manually enter the date for date of birth. >3. You can do so sucessfully > >Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc >index 9e7a67520d..867498fae0 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc >@@ -54,6 +54,7 @@ > flatpickr.setDefaults({ > dateFormat: "Y-m-d", > altInput: true, >+ allowInput: true, > altFormat: flatpickr_dateformat_string, > altInputClass: 'flatpickr-input', > nextArrow: '<i class="fa fa-fw fa-arrow-right" aria-hidden="true"></i>', >-- >2.30.2
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 33821
:
151638
|
151646
|
151788