[Koha-bugs] [Bug 10956] Series of OPAC searches can cause a browser crash

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 19 11:43:09 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10956

--- Comment #11 from Marc Véron <veron at veron.ch> ---
Created attachment 33674
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33674&action=edit
Bug 10956 - Series of OPAC searches can cause a browser crash

This patch fixes the issue for bootstrap. It was earlier fixed for the prog
theme.

Solution: Prevent  jQuery.fn.highlight = function(pat) to be called with empty
pat
by skipping empty values in highlight loop.

To test:
Without patch, do a search as in comment #1 odr #3
Result: Endless loop (Script not responding)

Appply patch:
No endless loop, page displays OK

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


More information about the Koha-bugs mailing list