]> git.openstreetmap.org Git - rails.git/commit
Fix "in bounds" test in updateData
authorTom Hughes <tom@compton.nu>
Mon, 25 Nov 2013 19:03:35 +0000 (19:03 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 25 Nov 2013 19:13:01 +0000 (19:13 +0000)
commit87bf5e73d4eccb88aa057fa27be0f482509c8fdf
tree9dbe516936c8f0a8beafbda8cf25d96f4c29b79c
parent43f52daeaabd5bf5f1c43e181a1f4135364fd0e1
Fix "in bounds" test in updateData

Only call getData if the new bounds are not contained within the
old bounds, and only update the bounds after a successful load so
that the don't change if we error out.
app/assets/javascripts/index/browse.js