Bugzilla – Attachment 188327 Details for
Bug 41065
Batch patron modification results are no longer displayed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41065: (bug 26553 follow-up) Remove JS error when submitting the form
Bug-41065-bug-26553-follow-up-Remove-JS-error-when.patch (text/plain), 1.38 KB, created by
Nick Clemens (kidclamp)
on 2025-10-23 11:04:23 UTC
(
hide
)
Description:
Bug 41065: (bug 26553 follow-up) Remove JS error when submitting the form
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2025-10-23 11:04:23 UTC
Size:
1.38 KB
patch
obsolete
>From 10e761e4627590af3ec18a2e3a054141569a4217 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 22 Oct 2025 08:55:04 +0200 >Subject: [PATCH] Bug 41065: (bug 26553 follow-up) Remove JS error when > submitting the form > >Uncaught TypeError: patron_table.$ is not a function > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >index 047f603cb47..d9132867129 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >@@ -569,7 +569,7 @@ > $('form[name="f"]').on("submit", function(){ > // Add the checkboxes to the DOM before we submit the form > var form = this; >- var checkboxes = patron_table.$('input:checkbox:checked').serializeArray(); >+ var checkboxes = $(patron_table).find('input:checkbox:checked').serializeArray(); > $.each(checkboxes, function(){ > let borrowernumber = this.value; > if(!$(form).find('input[name="borrowernumber"][value="'+borrowernumber+'"]').length){ >-- >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 41065
:
188266
|
188267
| 188327 |
188328