[openstreetmap-website] Data overlay responses come back out-of-sequence (#314)

Andy Allan notifications at github.com
Thu Jun 20 18:12:58 UTC 2013

Steps to reproduce:

* Go somewhere with lots of data
* Wait while the API call is happening
* In the meantime, select a very small area manually
* small results are shown
* Click on a feature
* Some time later, the large results are loaded, and interrupt what you were doing

Similar things can happen with a series of manual requests. The ajax requests should have a reference number passed to the callback, and stale responses should be ignored.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130620/90267809/attachment.html>

More information about the rails-dev mailing list