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>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Lucas Gass 2023-09-26 19:04:17 +00:00 committed by Tomas Cohen Arazi
parent 7382e305e1
commit a6ba086a92
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -530,7 +530,6 @@
$(".futuredate").parent().append(requiredDiv);
}
}
$(".holddatefrom,.futuredate").prop("readOnly", true);
$(".checkitem").parent().click(function(e){
if(e.target.tagName.toLowerCase() == 'td'){