do not send request if abort has been called, r=elemoine (closes #2065)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10341 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
bartvde
2010-05-19 12:51:09 +00:00
parent 1c9ba551a7
commit 0f648dedf4
2 changed files with 18 additions and 0 deletions

View File

@@ -168,7 +168,9 @@ OpenLayers.Request = {
request.send(config.data);
} else {
window.setTimeout(function(){
if (request._aborted !== true) {
request.send(config.data);
}
}, 0);
}
return request;