Possible this.RenderCrossTick problem
jmacdonald-spectacle opened this issue · 2 comments
jmacdonald-spectacle commented
I couldn't get the MIGXdb.Manage Events-Resources tutorial to work. https://docs.modx.com/3.x/en/extras/migxdb/migxdb.tutorials/manage-events-resources-in-a-cmp-with-help-of-migxdb
I noticed an error in the browser console.
Uncaught SyntaxError: Invalid or unexpected token ?a=index&namespace=migx&configs=events:711
The offending code:
renderImage = ''/assets/components/migx/style/images/cross.png';
It looks like there's an extra single quote at the beginning of the image string.
Once I removed the references to this.RenderCrossTick, the CMP worked fine.
MIGX: 2.13.0-rc1
MODX: 2.8.1
travisbotello commented
guyinpv commented
Also had this issue on two sites.
I removed one of the single quotes, fixed it right up.