OpenLayers OpenLayers

Changeset 3205

Show
Ignore:
Timestamp:
05/30/07 09:12:00 (1 year ago)
Author:
crschmidt
Message:

Pull in a fix from upstream Prototype, #702 by fredj (thx fredj)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Ajax.js

    r2803 r3205  
    212212      this.transport.send(this.options.method == 'post' ? body : null); 
    213213 
     214      /* Force Firefox to handle ready state 4 for synchronous requests */ 
     215      if (!this.options.asynchronous && this.transport.overrideMimeType) { 
     216          this.onStateChange(); 
     217      } 
     218 
    214219    } catch (e) { 
    215220      this.dispatchException(e);