From d38fd250cbe1c4b8fd2d7946ce493aecaea12f15 Mon Sep 17 00:00:00 2001 From: Jeremy Green Date: Thu, 21 Jan 2010 02:33:15 +0800 Subject: [PATCH] Small tweak to allow event caching by adding cacheEvents:true to the config options. --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 72d0d0f..14eb66e 100644 --- a/src/main.js +++ b/src/main.js @@ -365,7 +365,7 @@ $.fn.fullCalendar = function(options) { url: src, dataType: 'json', 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 }); }