I find a bug, when i try to delete a multiday event, plugin dont erase the other elements from calendar with that ID deleted.
So i did something like:
var events = $calendar.weekCalendar("serializeEvents"); // get all events
for( var a=0; a < events.length; a++ ){ // covers all events
if( events a ].id == event.id ){ // if the ID of event is the same, i looking, delete again
$calendar.weekCalendar("removeEvent", event.id);
}
}
I find a bug, when i try to delete a multiday event, plugin dont erase the other elements from calendar with that ID deleted.
So i did something like:
var events = $calendar.weekCalendar("serializeEvents"); // get all events
for( var a=0; a < events.length; a++ ){ // covers all events if( events a ].id == event.id ){ // if the ID of event is the same, i looking, delete again $calendar.weekCalendar("removeEvent", event.id); } }
And btw, awesome plugin, ty!