Small tweak to allow event caching by adding cacheEvents:true to the config options.

This commit is contained in:
Jeremy Green 2010-01-21 02:33:15 +08:00 committed by Adam Shaw
parent 3343747d38
commit d38fd250cb

View file

@ -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
}); });
} }