Use case:
When I'm looking at a particular month on the calendar page or an event, I might want to reset the dates on the mini-calendar to match the dates in the URL args. When a hook_calendar_block implementation gets invoked via ajax, the request path is always "calendar_block_ajax", instead of e.g. "calendar/2010/03/29"

The attached one-liner adds the current request URL to the data array in the ajax request.

Comments

c4rl’s picture

Version: 6.x-2.2 » 6.x-3.x-dev
Assigned: Unassigned » c4rl

Upcoming dev release of calendar block will have a GET request with the month and year in the URL.

c4rl’s picture

Version: 6.x-3.x-dev » 6.x-2.2
Assigned: c4rl » Unassigned

Due to mis-communication among the maintainers, the dev release has been rolled-back and this issue shall remain pending as the maintainers determine a way forward.