| Issue 2567: | Events not being displayed using FullCalendar 2.4.0 |
‹ Prev
90 of 90
|
| 1 person starred this issue and may be notified of changes. | Back to list |
Hello;
I have tried several version of FullCalendar to understand why my events are not being displayed.
Till version 2.0.0, my events are being display when am trying to fetch them like :
.addCallback(
function(events) {
console.log(events.length);
fixEventColors(events);
fixAllDayEvents(events);
makeUneditable(events);
callback(events);
}
);
In the FullCalendar, i have noticed that it is due to the function as follows :
In version 2.0.0 :
function s(e) {
return t.isFunction(e) || t.isArray(e) ? e = {
events: e
} : "string" == typeof e && (e = {
url: e
}), "object" == typeof e ? (D(e), F.push(e), e) : void 0
}
In version 2.4.0
function l(e) {
var i, n, r = He.sourceNormalizers;
if (t.isFunction(e) || t.isArray(e) ? i = {
events: e
} : "string" == typeof e ? i = {
url: e
} : "object" == typeof e && (i = t.extend({}, e)), i) {
for (i.className ? "string" == typeof i.className && (i.className = i.className.split(/\s+/)) : i.className = [], t.isArray(i.events) && (i.events = t.map(i.events, function(t) {
return w(t, i)
})), n = 0; r.length > n; n++) r[n].call(S, i);
return i
}
}
Does anyone have an explanation please
Oct 10, 2015
Project Member
#1
adamrs...@gmail.com
Status:
Invalid
|
|
| ► Sign in to add a comment |