From 49204945f033a692656a966228a0a308b2f6811a 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 Signed-off-by: Kyle M Hall --- 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 e3a2468a64..99e09cc245 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -509,7 +509,7 @@ $(".toggle_unholdable").click(function(e){ e.preventDefault(); - $(".unholdable").toggle(); + $(this).parent('div').find(".unholdable").toggle(); }); $("#hold-request-form").preventDoubleFormSubmit(); -- 2.39.5