javascript - Event displayed twice in fullcalendar -
in calendar,i have 2 kinds of events.
1.ordinary events
2.holiday events
i using 'eventsources' show events in calendar database.
eventsources: ["/calendar/show_events","/calendar/show_holidays"]
the holiday events given full background color title displayed @ middle. achieve, use 'eventafterrender'
eventafterrender: function(event, element, view) { element.append(event.title); }
so works fine. now, normal events listed/displayed twice in cell. can tell me why getting this. want events not duplicated. calendar sample image is:-
Comments
Post a Comment