From 4e1a15b876d8b23fdaa173caeebd449376e5b0df Mon Sep 17 00:00:00 2001 From: Lucas Gass 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 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit a6ba086a92115af5e43c84eb4e8dc8dbe2422ff7) Signed-off-by: Fridolin Somers (cherry picked from commit 65f3c1d48eccd9682e7f8ecf3f18587ddf2ad1d9) Signed-off-by: Matt Blenkinsop --- 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 53c4efe416..fbd63ff335 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.20.1