OpenLayers OpenLayers

Changeset 7373

Show
Ignore:
Timestamp:
06/17/08 18:37:03 (6 months ago)
Author:
tschaub
Message:

from may be undefined

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/topp/almanac/lib/OpenLayers/Util.js

    r7345 r7373  
    545545     * the source has its own toString property. 
    546546     */ 
    547     if(!fromIsEvt && from.hasOwnProperty 
     547    if(from && !fromIsEvt && from.hasOwnProperty 
    548548       && from.hasOwnProperty('toString') && !to.hasOwnProperty('toString')) { 
    549549        to.toString = from.toString;