Ticket #7830 (new defect)
Search highlight not working in Safari, jQuery .each() breaks with "null" elements
| Reported by: | tumma72@… | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.3 |
| Component: | search system | Version: | 0.11-stable |
| Severity: | major | Keywords: | jQuery search javascript |
| Cc: |
Description
The jQuery.each() function breaks in Safari if there are "undefined" (null) elements in the query list, a solution is to filter the query.split removing all elements which are null or with lenght == 0. See attached patch for search.js.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


