From baa4e7469b5f695b5e7b02b0c1c71aa9340d07ac Mon Sep 17 00:00:00 2001 From: ahocevar Date: Thu, 6 May 2010 14:24:30 +0000 Subject: [PATCH] fixed scope inside handler. r=bartvde (closes #2570) git-svn-id: http://svn.openlayers.org/trunk/openlayers@10294 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control/SLDSelect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Control/SLDSelect.js b/lib/OpenLayers/Control/SLDSelect.js index 34d1a03302..a8414f3707 100644 --- a/lib/OpenLayers/Control/SLDSelect.js +++ b/lib/OpenLayers/Control/SLDSelect.js @@ -312,7 +312,7 @@ OpenLayers.Control.SLDSelect = OpenLayers.Class(OpenLayers.Control, { } var describeFeatureType = format.read(doc); this.control.wfsCache[this.layer.id] = describeFeatureType; - this._queue && this.applySelection(); + this.control._queue && this.control.applySelection(); }, scope: this };