| Issue 2422: | Event being used in several calendars | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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?
Feb 9, 2015
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 |
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.