From 79a64f4be6e830fd718019d118666906c910b350 Mon Sep 17 00:00:00 2001 From: fredj Date: Thu, 2 Feb 2012 17:03:35 +0100 Subject: [PATCH] Tile.Image tests: add missing scope params (see #184) --- tests/Tile/Image.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Tile/Image.html b/tests/Tile/Image.html index 0d67cf1408..0b42064265 100644 --- a/tests/Tile/Image.html +++ b/tests/Tile/Image.html @@ -85,8 +85,8 @@ var layer = new OpenLayers.Layer.WMS( "Name", "http://labs.metacarta.com/TESTURL?", - {layers: 'basic'}, {async: true, getURLasync: function(bounds, callback) { - callback(this.getURL(bounds)); + {layers: 'basic'}, {async: true, getURLasync: function(bounds, callback, scope) { + callback.call(scope, this.getURL(bounds)); }} ); map.addLayer(layer);