https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42294

--- Comment #26 from Jan Kissig <[email protected]> ---
Created attachment 207570
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207570&action=edit
Bug 42294: Fix Uncaught TypeError

This fixes the Uncaught TypeError on pages that display a patron search
datatable with a callback function (select, add). The variable callback carries
the function name and is now called via window[callback](...).

Testplan:

1) Go to
 http://localhost:8081/cgi-bin/koha/suggestion/suggestion.pl?op=add_form
2) Open the browser console
3) Click 'Select manager', search for any patron and click 'Select'
4) Notice nothing happens: the modal stays open, no manager is set, and the

Apply the patch and redo steps 1-4.
The error should be gone and selecting a patron shall work now

The same applies for
- 'Set to patron' (suggester) on the same page
- 'Select manager' on ILL requests
- 'Add linked account' on the patron details page (needs
'EnablePatronAccountLinking')

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to