mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 20:42:49 +00:00
Fix stupid typo in bug 333145 that broke the offline checkbox r+sr=jag
This commit is contained in:
parent
75fb61ea2c
commit
50a0667051
@ -226,10 +226,10 @@ function onStart()
|
||||
// start in online or offline mode
|
||||
if (gStartupMode) {
|
||||
var offlineState = document.getElementById("offlineState");
|
||||
var ioService = Components.classes["@mozilla.org/network/io-service;1"].
|
||||
getService(Components.interfaces.nsIIOService);
|
||||
var ioService = Components.classes["@mozilla.org/network/io-service;1"]
|
||||
.getService(Components.interfaces.nsIIOService2);
|
||||
if (offlineState.checked != ioService.offline) {
|
||||
ioService.manageOfflineState = false;
|
||||
ioService.manageOfflineStatus = false;
|
||||
ioService.offline = offlineState.checked;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user