Menu

Commit [r7845]  Maximize  Restore  History

Fix search js regexp so that split expression returns only strings.

In WebKit-based engines, when using the previous regexp for splitting, "undefined" elements slipped in, resulting in "this" being the "window" and the rest of the code assuming a string would fail.

Closes #7830.

cboos 2009-02-08

changed /branches/0.11-stable/trac/htdocs/js/search.js
/branches/0.11-stable/trac/htdocs/js/search.js Diff Switch to side-by-side view
Loading...