Events page content duplicating itself on second ajax load??
-
I’m hoping someone else has run into this issue and can assist.
I have some custom templates, just modifying the layout, nothing super crazy. The issue is that when someone uses the vanilla date picker to select a date, the first time it loads fine, all is normal. If a user uses it a second time, it reloads EVERYTHING into view again, basically duplicating the entire header/events content area and footer. So there are 2 instances of the page on top of each other.
I have tried removing the templates piece by piece to narrow down the issue with no luck. The only thing I know is that it’s specific to the date picker itself, all the other links, etc. work as expected including the Previous/Next events links.
When the duplication starts happening there is some malformed JSON in the breakpoints.js file that breaks in console, and it’s due to loading .container scripts more than once. If I disable the breakpoints in the template, it stops the console error, but it still duplicates all the content on the page so I do not think that is the actual cause.
Any thoughts?? I’m at a loss.
- The topic ‘Events page content duplicating itself on second ajax load??’ is closed to new replies.