Ticket #13371 (confirmed Bug)
Highlight search terms script not running after AJAX refresh of search
Reported by: | davidjonasdesign@… | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | JavaScript | Version: | 4.2 |
Keywords: | search, highlight, ajax, update | Cc: | maartenkling |
Description
When we update the AJAX search results (make a new search or switch pages on the batch) the search term highlighter is not called again.
Seems like a simple fix by adding:
$('#region-content,#content').highlightSearchTerms({ includeOwnDomain: $('dl.searchResults').length === 0 });
On the request success after the update of the page info.
Change History
Note: See
TracTickets for help on using
tickets.
[does it still make sense having "JavaScript" as a separate Component?]