Bugzilla – Attachment 156244 Details for
Bug 34923
OPAC hold page flatpickr does not allow direct input of dates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34923: Allow direct input of hold dates on opac-reserve.tt
Bug-34923-Allow-direct-input-of-hold-dates-on-opac.patch (text/plain), 1.27 KB, created by
David Nind
on 2023-09-26 20:16:28 UTC
(
hide
)
Description:
Bug 34923: Allow direct input of hold dates on opac-reserve.tt
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-09-26 20:16:28 UTC
Size:
1.27 KB
patch
obsolete
>From bb0028f7ffc05ceb105ff4009078cb884edebec4 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 26 Sep 2023 19:04:17 +0000 >Subject: [PATCH] Bug 34923: Allow direct input of hold dates on > opac-reserve.tt > >To test: >1. Turn on AllowHoldDateInFuture and OPACAllowHoldDateInFuture >2. Make a hold in OPAC and notice you cannot directly input a date in either the "Hold starts on date:" field or the "Hold not needed after:" field. >3. APPLY PATCH >4. Clear your browser cache and try again. You should be able to directly input dates. > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >index 982da83306..bc497b17f0 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >@@ -530,7 +530,6 @@ > $(".futuredate").parent().append(requiredDiv); > } > } >- $(".holddatefrom,.futuredate").prop("readOnly", true); > > $(".checkitem").parent().click(function(e){ > if(e.target.tagName.toLowerCase() == 'td'){ >-- >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 34923
:
156242
|
156244
|
156379