Bugzilla – Attachment 194688 Details for
Bug 41569
Tidy kohaTable block - clubs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41569: (QA follow-up) Fix missing preventDefault() call
Bug-41569-QA-follow-up-Fix-missing-preventDefault-.patch (text/plain), 1.16 KB, created by
Paul Derscheid
on 2026-03-06 11:55:15 UTC
(
hide
)
Description:
Bug 41569: (QA follow-up) Fix missing preventDefault() call
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2026-03-06 11:55:15 UTC
Size:
1.16 KB
patch
obsolete
>From da287063ed7586ea05a75445842fb09f2793cd91 Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >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 <a href="#"> link, so clicking it would > cause the page to scroll to top > >Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41569
:
191124
|
191125
|
191126
|
191572
|
191573
|
191574
|
191575
|
194643
|
194644
|
194649
|
194650
|
194651
|
194683
|
194684
|
194685
|
194686
|
194687
|
194688