| Issue 2368: | removeEventSource with Google Calendar object | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Since the gcal v3 api update, something like this will no longer work:
var source = {
googleCalendarId: 'usa__en@holiday.calendar.google.com'
};
$('#calendar').fullCalendar('addEventSource', source);
$('#calendar').fullCalendar('removeEventSource', source); // won't work!
The temporary solution is to call removeEventSource with *only* the calendar's ID:
$('#calendar').fullCalendar('removeEventSource', source.googleCalendarId); // workaround!
The underlying problem should be fixed. Though making it compatible with past FC versions that use old fullcalendar.js but want the newest gcal.js will probably be impossible.
Nov 25, 2014
#1
kyle1...@gmail.com
Nov 25, 2014
with v2.2.3 and v 1.6.7, this should work now
Status:
Released
|
|
| ► Sign in to add a comment |