My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 730: Need to enable multiple event sources from different types
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Feb 2011


Sign in to add a comment
 
Reported by missiono...@gmail.com, Nov 22, 2010
I have a Google calendar with some "global" events and database which I call via ajax to collect some "members only" events. Either one works great by itself, but if I try to put them both into eventSources, I don't get events from either source although I can track code execution into both the gcal.js file and my C# code on the backend.

                eventSources: [
                    function (start, end, callback) {
                        var dta = new Object();
                        dta.start = start.format('MM-dd-yyyy hh:mm:ss');
                        dta.end = end.format('MM-dd-yyyy hh:mm:ss');
                        $.ajax({
                            type: "POST",
                            url: '/MembersAndFriends/MFCalendarEvents',
                            data: dta,
                            success: function (doc) {
                                debugger;
                                var events = [];
                                var rslt = eval(doc);
                                for (ndx = 0; ndx < rslt.length; ndx++) {
                                    dta = eval(rslt[ndx]);
                                    events.push({
                                        title: dta.title,
                                        start: dta.start,
                                        allDay: dta.allDay,
                                        editable: dta.editable,
                                        end: dta.end,
                                        id: dta.id,
                                        url: dta.url,
                                        className: dta.className,
                                        hideTime: dta.hideTime,
                                        toolTip: dta.toolTip
                                    });
                                }
                                callback(events);
                            }
                        });
                    },
                    $.fullCalendar.gcalFeed("http://www.google.com/http://www.google.com/calendar/feeds/mygooglecalendarutl/public/basic/")
                ],
Dec 18, 2010
Project Member #1 adamrs...@gmail.com
hmm, this might be caused by a bug that was fixed in 1.4.8 & 1.4.9. can you try the latest version?

if things still don't work, can you post a link (or email me one at arshaw A arshaw.com) that demonstrates the problem live?
Status: Reproducing
Feb 15, 2011
Project Member #2 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Done
Sign in to add a comment

Powered by Google Project Hosting