CCK only - Not handling autodetect proxies option


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206491 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkaply%us.ibm.com
2006-08-03 16:26:48 +00:00
parent dcab6d0ada
commit afc548b35d

View File

@@ -1823,6 +1823,17 @@ function CCKWriteDefaultJS(destdir)
}
}
break;
case "4":
var proxyintegerlist = ["ProxyType"];
for (i = 0; i < proxyintegerlist.length; i++) {
var proxyitem = document.getElementById(proxyintegerlist[i]);
if (proxyitem.value.length > 0) {
var line = 'pref("' + proxyitem.getAttribute("preference") + '", ' + proxyitem.value + ');\n';
fos.write(line, line.length);
}
}
break;
case "5":
var file = Components.classes["@mozilla.org/file/local;1"]
.createInstance(Components.interfaces.nsILocalFile);