From 5be6968f2e75438efae2bc67f07f1bb4ea2e853a 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 Signed-off-by: Fridolin Somers --- 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 b85c17ba9d..aff10f9f33 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.39.5