Support

Home Forums Event Espresso Premium Ajax Clash

Ajax Clash

Posted: April 20, 2017 at 12:15 pm

Viewing 5 reply threads


youngjc345

April 20, 2017 at 12:15 pm

I’m receiving an error when trying to view a ticket for an event on the frontend page with [ESPRESSO_MY_EVENTS].

When the ticket button is pressed this error is received:
example error
I’m not sure what caused the error as it all seemed to work fine and then just stopped working. Is it possible to disable the ajaxify class for that button? Or do you have any other recommendations?


Josh

  • Support Staff

April 20, 2017 at 12:18 pm

The custom.min.js is causing the error. Can you find where that script is loading from and deregister it for that page if it’s not needed on that page?


youngjc345

April 28, 2017 at 7:15 am

The script is part of a plugin used to use the install as a mobile app. The support for this plugin recommended that I change the class of the icon link to their “no-ajax” class which will disable dynamic page loading for just that link and alleviate the conflict with the jQuery/Ajax. Is this a feasible solution?


Josh

  • Support Staff

April 28, 2017 at 8:41 am

You could try testing that idea. I’m not sure if the ticket link icon you’re describing is something that’s built in or was added as a customization. If it was added by customizing, then you could change/add the no-ajax class to your customization.

If the ticket link icon isn’t something that was added via a customization, can you post a screenshot of the icon in question so I can investigate further?


youngjc345

April 28, 2017 at 8:50 am

The ticket icon is the one referenced here which was provided by EE support. https://eventespresso.com/topic/view-tickets-2/


Josh

  • Support Staff

April 28, 2017 at 8:53 am

OK then so can you try adding the no-ajax class to the icon? I wouldn’t recommend removing the existing classes because if you remove them, they won’t display an icon anymore.

Viewing 5 reply threads

The support post ‘Ajax Clash’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso