Fix stupid typo in bug 333145 that broke the offline checkbox r+sr=jag

This commit is contained in:
neil%parkwaycc.co.uk 2007-01-26 22:17:25 +00:00
parent 75fb61ea2c
commit 50a0667051

View File

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