jquery-week-calendar icon indicating copy to clipboard operation
jquery-week-calendar copied to clipboard

RemoveEvent in multi-user view.

Open tobiascapin opened this issue 12 years ago • 0 comments

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
        }
      });

tobiascapin avatar Feb 01 '13 14:02 tobiascapin