RemoveEvent in multi-user view.
Opened this issue · 0 comments
tobiascapin commented
When an event touchs multiple users and I call removeEvent() just the first event in dom is removed.
The solution is very simple: remove the "return false" in each loop at row 399:
self.element.find('.wc-cal-event').each(function() {
if ($(this).data('calEvent').id === eventId) {
$(this).remove();
// return false; <-- remove this
}
});