[Bug Bug 505430] - County returned instead of country in geolocated address. r=glaz

This commit is contained in:
Doug Turner 2009-07-21 10:21:41 -07:00
Родитель 34827b9705
Коммит 83a3d641d1
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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;