Small tweak to allow event caching by adding cacheEvents:true to the config options.
This commit is contained in:
parent
3343747d38
commit
d38fd250cb
|
@ -365,7 +365,7 @@ $.fn.fullCalendar = function(options) {
|
||||||
url: src,
|
url: src,
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
data: params,
|
data: params,
|
||||||
cache: options.cacheParam || false, // don't let jquery prevent caching if cacheParam is being used
|
cache: options.cacheEvents || options.cacheParam || false, // don't let jquery prevent caching if cacheParam is being used
|
||||||
success: reportEventsAndPop
|
success: reportEventsAndPop
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue