impressivewebs/CSS3-Click-Chart — Issue #2: Fix Queueing of Ajax calls
Author: impressivewebs
Created: 2012-01-17 21:27:06+00:00
State: open

Currently, whenever a feature is chosen, 7 different parts of the page get updated with 7 different Ajax calls. As it is now, and as pointed out here, selecting a new feature doesn't cancel any previous uncompleted Ajax calls. So, with a slow connection, they could end up queueing quite a bit, making it clunky.

I couldn't quickly figure out how to fix this (I'm using jQuery's .load() but I would assume I would need to change that), but I will do it at some point. If anyone wants to tackle this, it would be much appreciated.

In short: I need to cancel any in-progress Ajax calls whenever a new feature is clicked.