| 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 |
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
Status:
Reproducing
Feb 15, 2011
(No comment was entered for this change.)
Status:
Done
|
|
| ► Sign in to add a comment |