Bugzilla – Attachment 151788 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.15 KB, created by
Katrin Fischer
on 2023-05-29 18:17:07 UTC
(
hide
)
Description:
Bug 33821: Allow direct input of dates on the OPAC
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-05-29 18:17:07 UTC
Size:
1.15 KB
patch
obsolete
>From 40fb0ef55dbe5a85a1b298855651a35499d8d8e2 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> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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