Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Miguel S. 30 posts 87 karma points
    Mar 26, 2013 @ 06:07
    Miguel S.
    0

    Another bug fixed...

    If you tried to use this and it didn't work in Chrome but worked in Firefox I have a fix for you. 

    Update this section of the csCalendar/csCalendar.js file. It starts on line 342. 

    You need to add dataType: 'json' and you need to remove the parseJSON function call. 

    $(this).fullCalendar('addEventSource'function (startendcallback{
            var googleEvents new Array();
            if (options.googleEvents != ''{
                $.ajax({
                    urloptions.googleEvents,
                    dataType'json',
                    data{
                        alt"jsonc",
                        'start-min'$.fullCalendar.formatDate(start'u'),
                        'start-max'$.fullCalendar.formatDate(end'u'),
                        singleeventstrue,
                        'max-results'9999,
                        cachenew Date().getTime()
                    },
                    successfunction (data{
                        $(data.data.items).each(function (indexelem{
Please Sign in or register to post replies

Write your reply to:

Draft