From 33bbb95b05f1e87f6a99d7c2977e6fe0df58daa2 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 8 Feb 2022 12:30:23 +0000 Subject: [PATCH] Bug 29706: (follow-up) Adjust code to work for multi-holds Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 2 +- 1 file changed, 1 insertion(+), 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 b85c17ba9d2..aff10f9f333 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -512,7 +512,7 @@ $(".toggle_unholdable").click(function(e){ e.preventDefault(); - $(".unholdable").toggle(); + $(this).parent('div').find(".unholdable").toggle(); }); $("#hold-request-form").preventDoubleFormSubmit(); -- 2.25.1