From 255581376241b1daa049fec761f339147122d973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 7 Nov 2011 18:08:12 +0100 Subject: [PATCH] commit ef6770 was incorrect, stopObservingElement is to be called, not stopObserving --- tests/Tile/Image.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Tile/Image.html b/tests/Tile/Image.html index 87986ced53..22aa3ab6fa 100644 --- a/tests/Tile/Image.html +++ b/tests/Tile/Image.html @@ -328,10 +328,10 @@ var tile = layer.grid[0][0]; // we're going to create a back buffer while the image - // is actually loading, so we call stopObserving to - // avoid any unexpected behavior + // is actually loading, so we call stopObservingElement + // to avoid any unexpected behavior tile.isLoading = false; - OpenLayers.Event.stopObserving(tile.imgDiv); + OpenLayers.Event.stopObservingElement(tile.imgDiv); var img = tile.imgDiv; var bb = tile.createBackBuffer();