However, that block is behind a {% if c.PAGE_PATH != 'registration/form' %} -- it shouldn't even be rendering this script.
The JS error breaks other JS on the page; most notably, it prevents admins from deleting a badge (it simply says "This attendee has been saved" when you try).
Sometimes when editing a badge in MAGWest, a JS error comes up:
Uncaught TypeError: Cannot read property 'parents' of null
About this block:However, that block is behind a
{% if c.PAGE_PATH != 'registration/form' %}
-- it shouldn't even be rendering this script.The JS error breaks other JS on the page; most notably, it prevents admins from deleting a badge (it simply says "This attendee has been saved" when you try).