[Plugin: Events Manager] Events Manger – My Events Booking Filter Problems
-
For some reason when I changed the filter (example from future events to past events) instead of updating the table it would replace the table with a copy of the entire wordpress page, I would end up with pages inside pages inside pages.
The ajax call is returning the entire page html not just the table, and events-manager.js was copying in that entire page over the table with
el.parents('.wrap').first().parent().parent().replaceWith(data);
I resolved this temporarily with:
$('body').html(data);
replacing
el.parents('.wrap').first().parent().parent().replaceWith(data);
in events-manager.jsI will use this until a solution becomes available that makes the ajax call return just the table rather than the entire page.
- The topic ‘[Plugin: Events Manager] Events Manger – My Events Booking Filter Problems’ is closed to new replies.