Ticket #702: synchronous_request.patch
| File synchronous_request.patch, 0.6 kB (added by fredj, 1 year ago) |
|---|
-
lib/OpenLayers/Ajax.js
old new 211 211 var body = this.options.postBody ? this.options.postBody : parameters; 212 212 this.transport.send(this.options.method == 'post' ? body : null); 213 213 214 /* Force Firefox to handle ready state 4 for synchronous requests */ 215 if (!this.options.asynchronous && this.transport.overrideMimeType) { 216 this.onStateChange(); 217 } 218 214 219 } catch (e) { 215 220 this.dispatchException(e); 216 221 }
