fixed IE JSON caching issue

This commit is contained in:
Adam Shaw 2009-05-05 14:42:35 +00:00
parent 1da7dc92e0
commit 7763b011f9

View file

@ -240,6 +240,7 @@
var jsonOptions = {}; var jsonOptions = {};
jsonOptions[options.startParam || 'start'] = Math.round(start.getTime() / 1000); jsonOptions[options.startParam || 'start'] = Math.round(start.getTime() / 1000);
jsonOptions[options.endParam || 'end'] = Math.round(end.getTime() / 1000); jsonOptions[options.endParam || 'end'] = Math.round(end.getTime() / 1000);
jsonOptions['_t'] = (new Date()).getTime();
$.getJSON(options.events, jsonOptions, function(data) { $.getJSON(options.events, jsonOptions, function(data) {
events = cleanEvents(data); events = cleanEvents(data);
renderEvents(events); renderEvents(events);