[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
Tue Nov 18 18:30:26 CET 2014


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

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |veron at veron.ch

--- Comment #3 from Marc Véron <veron at veron.ch> ---
I could reproduce endless loops as well, leading to a "Script not responding"
message in Firefox.
What I did:
- Keyword search for "a"
- In Facets click an author with a lot of titles
- Click a detail page
Result: Wait cursor, then "Script not responding"

It seems to be related to a function jQuery.fn.higlight
It has a loop like
for (var i=0; i < node.childNodes.lenght; ++i)

in this loop, node.childNodes.lenght is really huge (sorry, could not take a
screenshot)

After turning off syspref 'OpacHighlightedWords' I could not reproduce the
endless loop again.

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


More information about the Koha-bugs mailing list