Bruno17 / MIGX

MIGX for revo 2.2 and above
83 stars 78 forks source link

Possible this.RenderCrossTick problem #363

Closed jmacdonald-spectacle closed 3 years ago

jmacdonald-spectacle commented 3 years ago

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 3 years ago

Confirmed. Just saw the same problem on all of our website.

Bildschirmfoto 2021-03-08 um 12 02 50

guyinpv commented 3 years ago

Also had this issue on two sites.

I removed one of the single quotes, fixed it right up.