TAMULib/SAGE

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

Opened this issue · 0 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.