| Issue 586: | refetchEvents bug - does not clear existing events under certain conditions | |
| 2 people starred this issue and may be notified of changes. | Back to list |
fullCalendar fetches data via JSON; When calling refetchEvents multiple times, it does not remove existing event objects. Calling removeEvents in between refetchEvents has no effect.
Try this to see bug in action:
function calendar_refresh()
{
calendar.fullCalendar('removeEvents');
calendar.fullCalendar('refetchEvents');
calendar.fullCalendar('refetchEvents');
calendar.fullCalendar('refetchEvents');
calendar.fullCalendar('refetchEvents');
return true;
}
Aug 4, 2010
#1
spandit
Aug 25, 2010
will fix this bug. thanks for the report.
Status:
Accepted
Labels: Type-Defect
Sep 28, 2010
Fix for 1.4.8 : http://github.com/tpruvot/fullcalendar/commit/310be8a6ed6f07322a26f892e352ff1bd81701c0
Sep 28, 2010
Awesome, it appears to be working!
Sep 28, 2010
yea, tested on chrome 7 and ie9, but sometimes events are not fetched when we switch month/week while events are already loading
Sep 28, 2010
And the enhanced version (need first patch) #3 http://github.com/tpruvot/fullcalendar/commit/c2908eef257699a4331c4758c3153deb255f673c which correct another issue too, when you switch view while loading...
Sep 29, 2010
i made a new proper patch, related to master branch http://github.com/tpruvot/fullcalendar/commit/fab4b67f921f6f0421f060b8b20bf11d1ba74b37
Oct 16, 2010
this has been fixed in v1.4.8 (just released)
Status:
Fixed
Aug 13, 2013
(No comment was entered for this change.)
Status:
Implemented
Aug 13, 2013
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |