[Koha-bugs] [Bug 24713] JavaScript error on staff client catalog search results page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 25 19:24:00 CET 2020


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

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 99604
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99604&action=edit
Bug 24713: JavaScript error on staff client catalog search results page

This patch modifies the output of template toolkit variables so that
values in the in-page JavaScript are quoted. This avoids JavaScript
errors when the template variable is empty.

To test, apply the patch and perform a catalog search in the staff
client. Use the browser's developer tool to check for JavaScript errors
in the console. There should be none.

Test with AmazonCoverImages both on and off.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list