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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33674|0                           |1
        is obsolete|                            |

--- Comment #12 from Jonathan Druart <[email protected]> ---
Created attachment 33897
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33897&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

Signed-off-by: Jonathan Druart <[email protected]>
To reproduce you need to search a string with 2 spaces.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to