From 83a3d641d1d65dc30cae6425c87b7631be2b5341 Mon Sep 17 00:00:00 2001 From: Doug Turner Date: Tue, 21 Jul 2009 10:21:41 -0700 Subject: [PATCH] [Bug Bug 505430] - County returned instead of country in geolocated address. r=glaz --- dom/src/geolocation/NetworkGeolocationProvider.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dom/src/geolocation/NetworkGeolocationProvider.js b/dom/src/geolocation/NetworkGeolocationProvider.js index ad15ba80ed6..60591c001d6 100644 --- a/dom/src/geolocation/NetworkGeolocationProvider.js +++ b/dom/src/geolocation/NetworkGeolocationProvider.js @@ -89,15 +89,15 @@ function WifiGeoPositionObject(lat, lon, acc, address) { this.coords = new WifiGeoCoordsObject(lat, lon, acc); if (address) { - this.address = new WifiGeoAddressObject(address.streetNumber, + this.address = new WifiGeoAddressObject(address.street_number, address.street, address.premises, address.city, address.county, address.region, - address.county, - address.countryCode, - address.postalCode); + address.country, + address.country_code, + address.postal_code); } else this.address = null;