My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 845: multiple calendars fetching one event source
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Mar 2011


Sign in to add a comment
 
Reported by jan.pta...@gmail.com, Mar 3, 2011
First: thank you very much for your work!

I try to render two months of one gcal at a time like this:
my_cal.eventSources = [ $.fullCalendar.gcalFeed("url") ]
$('#m1').fullCalendar(my_cal);
my_cal.month=2;
$('#m2').fullCalendar(my_cal);

however I see fetched events just on the first one

Mar 3, 2011
#1 jan.pta...@gmail.com
olé, got it:
each calendar needs its own instance of gcalFeed because of the data loaded callback:
my_cal.eventSources = [ $.fullCalendar.gcalFeed("url") ]
$('#m1').fullCalendar(my_cal);
my_cal.eventSources = [ $.fullCalendar.gcalFeed("url") ]
my_cal.month=2;
$('#m2').fullCalendar(my_cal);

ok then
Mar 3, 2011
Project Member #2 althaus.it
(No comment was entered for this change.)
Status: Done
Sign in to add a comment

Powered by Google Project Hosting