From 4bda192e128f3a4fd194b6dda56c18e4223cf938 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 --- 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.30.2