My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2422: Event being used in several calendars
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Feb 2015


Sign in to add a comment
 
Reported by markus.j...@gmail.com, Jan 14, 2015
I have an application where I use calendars extensievly. That means event objects are being used and put in several calendars. I have noticed that the event object itself is actually modified, by adding things like source. 

Would this mean that it is not possible to add the same event to several calendars at once?

Am I better off if I copy the event object before inserting it into fullcalendar?
Jan 14, 2015
#1 war...@gmail.com
are you displaying the different fullcalendars ( $('#calendar').fullcalendar() ) on the same web page?  I would assume you can simply load the same event into each calendar.  Then it would depend on how you allow events to be modified; it may need some synchronizing.
Feb 9, 2015
Project Member #2 adamrs...@gmail.com
There should be no side-effects to your passed-in objects and you should be okay. In past version FullCalendar actually used and mutated the actual event object you gave it, but in recent versions it makes its own internal copy before doing anything else.
Status: Done
Sign in to add a comment

Powered by Google Project Hosting