TAMULib / SAGE

Search Aggregation Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The ID for fields, such as facets and more button, need to be sanitized.

kaladay opened this issue · comments

The openMoreFacets() function does not properly sanitize URL, resulting in the following error:

Console log show:

0000000005.js:15697 Error: Syntax error, unrecognized expression: #moreFacetsModal-Content-Type-(SS)

The modal will not open.

The problem is in these spots:

An ID is generated for the modal, that generated ID needs to strip special characters.