From 50fe4e712ff4fa7d26e391015a85e15fee3b028c Mon Sep 17 00:00:00 2001 From: euzuro Date: Fri, 19 May 2006 14:29:51 +0000 Subject: [PATCH] update loadFeatures() function git-svn-id: http://svn.openlayers.org/trunk/openlayers@176 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Tile/WFS.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/OpenLayers/Tile/WFS.js b/lib/OpenLayers/Tile/WFS.js index f3c59bfae1..eed526138a 100644 --- a/lib/OpenLayers/Tile/WFS.js +++ b/lib/OpenLayers/Tile/WFS.js @@ -54,18 +54,14 @@ OpenLayers.Tile.WFS.prototype = if (!this.loaded) { - var server = this.ds.serverPath; - - if (server != "") { + if (this.url != "") { - var queryString = this.getFullRequestString(); // TODO: Hmmm, this stops multiple loads of the data when a // result isn't immediately retrieved, but it's hacky. // Do it better. this.loaded = true; - ol.Log.info("request string: " + queryString); - ol.Application.loadURL(queryString, null, this, - success, failure); + ol.Log.info("request string: " + this.url); + ol.Application.loadURL(this.url, null, this, success, failure); } } },