OpenLayers OpenLayers

Changeset 4087

Show
Ignore:
Timestamp:
08/28/07 18:53:20 (1 year ago)
Author:
tschaub
Message:

IE tries to modify dom elements when an undeclared variable is used in a statement and the name of that variable is the id of an element on the page (see 849).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/tests/Layer/test_Google.html

    r4082 r4087  
    133133        // Test for #849. 
    134134        t.plan(1); 
    135         map = new OpenLayers.Map( 'map' ,  
     135        var map = new OpenLayers.Map( 'map' ,  
    136136        { controls: [] , 'numZoomLevels':20}); 
    137137 
    138138        var satellite = new OpenLayers.Layer.Google( "Google Satellite" , {type: G_SATELLITE_MAP, 'maxZoomLevel':18} ); 
    139         layer = new OpenLayers.Layer.WMS.Untiled( "OpenLayers WMS",  
     139        var layer = new OpenLayers.Layer.WMS.Untiled( "OpenLayers WMS",  
    140140                "http://labs.metacarta.com/wms/vmap0", {layers: 'basic', 'transparent':true},  
    141141                  {isBaseLayer: false} );