OpenLayers OpenLayers

Changeset 1616

Show
Ignore:
Timestamp:
10/05/06 17:04:28 (2 years ago)
Author:
sderle
Message:

Set the new layer.grid to a new Array object, rather than null, in Layer.Grid.clone(). Passes all tests. Fixes #203.

Files:

Legend:

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

    r1596 r1616  
    7070        } 
    7171         
    72         // we do not want to copy reference to grid. that should stay at null 
    73         obj.grid = null
     72        // we do not want to copy reference to grid, so we make a new array 
     73        obj.grid = new Array()
    7474 
    7575        return obj;