mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
bug 487467
7 - We aren't localizing the geolocation preference. r=gavin
This commit is contained in:
parent
81f4b30c6c
commit
efbe382d2e
@ -120,7 +120,7 @@ WifiGeoPositionProvider.prototype = {
|
||||
LOG("startup called");
|
||||
|
||||
var prefService = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
|
||||
this.provider_url = prefService.getComplexValue("geo.wifi.uri", Ci.nsIPrefLocalizedString).data;
|
||||
this.provider_url = prefService.getCharPref("geo.wifi.uri");
|
||||
LOG("provider url = " + this.provider_url);
|
||||
|
||||
// if we don't see anything in 5 seconds, kick of one IP geo lookup.
|
||||
|
Loading…
Reference in New Issue
Block a user