OpenLayers OpenLayers

Changeset 2286

Show
Ignore:
Timestamp:
02/25/07 23:02:58 (2 years ago)
Author:
euzuro
Message:

patch for #509 -- fixes script error when tile is destroyed before it is used. thx cr5

Files:

Legend:

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

    r2232 r2286  
    233233    // 
    234234    if (!this.viewRequestID || 
    235         (this.viewRequestID == this.map.viewRequestID)) {  
     235        (this.map && this.viewRequestID == this.map.viewRequestID)) {  
    236236        this.style.backgroundColor = null; 
    237237        this.style.display = "";