From 6acf9e75c56c5b300e246032670581cd7a410384 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 28 Aug 2007 22:53:20 +0000 Subject: [PATCH] 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). git-svn-id: http://svn.openlayers.org/trunk/openlayers@4087 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/Layer/test_Google.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Layer/test_Google.html b/tests/Layer/test_Google.html index 3408f82777..9dc89666e3 100644 --- a/tests/Layer/test_Google.html +++ b/tests/Layer/test_Google.html @@ -132,11 +132,11 @@ function test_Layer_Google_overlay(t) { // Test for #849. t.plan(1); - map = new OpenLayers.Map( 'map' , + var map = new OpenLayers.Map( 'map' , { controls: [] , 'numZoomLevels':20}); var satellite = new OpenLayers.Layer.Google( "Google Satellite" , {type: G_SATELLITE_MAP, 'maxZoomLevel':18} ); - layer = new OpenLayers.Layer.WMS.Untiled( "OpenLayers WMS", + var layer = new OpenLayers.Layer.WMS.Untiled( "OpenLayers WMS", "http://labs.metacarta.com/wms/vmap0", {layers: 'basic', 'transparent':true}, {isBaseLayer: false} );