Fix reloading of tiles from API after save.

This commit is contained in:
Brandon Liu
2013-01-15 23:06:58 -08:00
parent b303cb796f
commit cc59b048e1

View File

@@ -16,6 +16,7 @@ iD.Connection = function() {
function bboxFromAPI(box, tile, callback) {
function done(err, parsed) {
loadedTiles[tile.toString()] = true;
delete inflight[tile.toString()];
callback(err, parsed);
}
inflight[tile.toString()] = loadFromURL(bboxUrl(box), done);