Console error in TPAC: "Uncaught ReferenceError: $ is not defined"
Bug #1925237 reported by
Jeff Davis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
EG 3.7
In the TPAC, when jQuery is disabled and want_dojo = 1 (for example, on the advanced search page or when ebook_api is enabled), this line in parts/js.tt2 will produce a console error:
<script type="text/
The error message is "Uncaught ReferenceError: $ is not defined". We can avoid the error by using document.
I do not see this issue in the Bootstrap OPAC, nor on a server running EG 3.5.
To post a comment you must log in.
Working branch user/jeffdavis/ lp1925237- tpac-uncaught- reference- error changes $() to document. getElementById( ) in the relevant place:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ jeffdavis/ lp1925237- tpac-uncaught- reference- error