From 06b762eebdba2cd6c00a63d64057e904cd968e16 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Sun, 28 Oct 2018 22:10:43 +0000 Subject: [PATCH] Bug 15565: (follow-up) Corrected OPAC reserve interface display logic Sponsored-By: Brimbank Library, Australia Signed-off-by: Katrin Fischer --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 b8832d45bf..9992c7a803 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -298,8 +298,10 @@ [% END # / IF OpacHoldNotes %] + [% IF bibitemloo.itemholdable %] + [% END # / IF bibitemloo.itemholdable %] [% IF bibitemloo.remaining_holds_for_record > 1 %] @@ -526,8 +530,6 @@ $("#toggle-hold-options-[% bibitemloo.biblionumber | html %]").click(); $("#reqany_[% bibitemloo.biblionumber | html %]").attr('checked', true); [% END %] - $("#reqany_[% bibitemloo.biblionumber | html %]").attr('disabled', 'disabled'); - $("#reqspecific_[% bibitemloo.biblionumber | html %]").attr('disabled', 'disabled'); [% END %] [% IF bibitemloo.reqholdnotes %] $("#holdnotes_[% bibitemloo.biblionumber | html %]").attr( 'required', true ); -- 2.11.0