roundcubemail-plugins-kolab/plugins/calendar/lib/fullcalendar-rc.patch

33 lines
831 B
Diff
Raw Normal View History

--- js/fullcalendar.js.orig 2011-06-04 15:45:44.000000000 -0400
+++ js/fullcalendar.js 2011-06-04 15:46:38.000000000 -0400
@@ -500,8 +500,8 @@
}
- function refetchEvents() {
- fetchEvents(currentView.visStart, currentView.visEnd); // will call reportEvents
+ function refetchEvents(source) {
+ fetchEvents(currentView.visStart, currentView.visEnd, source); // will call reportEvents
}
@@ -897,7 +897,7 @@
}
- function fetchEvents(start, end) {
+ function fetchEvents(start, end, src) {
rangeStart = start;
rangeEnd = end;
cache = [];
@@ -905,7 +905,8 @@
var len = sources.length;
pendingSourceCnt = len;
for (var i=0; i<len; i++) {
- fetchEventSource(sources[i], fetchID);
+ if (typeof src == 'undefined' || src == sources[i])
+ fetchEventSource(sources[i], fetchID);
}
}