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:-

picture showing 2 type of events


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -