From da287063ed7586ea05a75445842fb09f2793cd91 Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Fri, 6 Mar 2026 12:52:51 +0100 Subject: [PATCH] Bug 41569: (QA follow-up) Fix missing preventDefault() call - e.preventDefault was missing parentheses, so the default action was never actually prevented - The element is an link, so clicking it would cause the page to scroll to top Signed-off-by: Paul Derscheid --- koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt index a1c911bc932..d447ea88b0e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt @@ -173,7 +173,7 @@ }); $("body").on("click", ".club_hold_search", function (e) { - e.preventDefault; + e.preventDefault(); var club_id = $(this).data("id"); SearchToHold(club_id); }); -- 2.39.5