Event className not working

I am using fullcalendar from arshaw.com/fullcalendar to display events on a corporate intranet calendar. I had a className attribute, made some changes to some code and now I can not understand why it does not work. Here is the json that is returning from my service


[
    {
        "allDay":true,
        "className":"corporate",
        "editable":null,
        "end":null,
        "id":null,
        "start":"2010-07-05T00:00:00.0000000",
        "title":"4th of July Holiday (Day Off)",
        "url":"\/en\/EmployeeResources\/Calendar\/Corporate\/2010\/07\/4th_of_july_holiday.aspx"
    }
]

everything works fine, except for assigning a "corporate" className to event items in the calendar.

This is the code that I use on document.ready to load calendar events that works fine again, it's just the name of the class I'm having problems with


$("#calendar").fullCalendar('addEventSource', '/layouts/calendar/SitecoreCalendarEventsHandler.ashx?calendar=Corporate')

I also want to note that I am using the latest version from arshaw.com (1.4.6)

+5
source share
1

nevermind, , , - , , . - CSS,

+1

All Articles