jQueryEventCalendar icon indicating copy to clipboard operation
jQueryEventCalendar copied to clipboard

added simple changes to force a reload of data on the change of month

Open BobFleischman opened this issue 10 years ago • 0 comments

We needed to reload the data a month at a time each time the month changed, plus we also needed to append some extra parameters to the json URL.

We accomplished this with two new attributes: reloadDataOnMonthChange: false, eventsjsonExtraData : "", in the changeMonth routine we clear the cache which forces a reload and on success re-enable the cache. The eventsjsonExtraData is just appened to the end of the eventsjson string. To use it you must prepend your string with an ampersand since it is being added as extra parameters to your string url.

I hope this helps others.

BobFleischman avatar Mar 10 '16 19:03 BobFleischman