gecko-dev/xpfe/components/prefwindow/resources/content/pref-proxies.js
2000-01-07 06:52:11 +00:00

14 lines
504 B
JavaScript

function showManualProxyConfig()
{
var manualRow = document.getElementById("manual-proxy");
bundle = srGetStrBundle("chrome://pref/locale/prefutilities.properties");
var viewHideButton = document.getElementById("viewhideManual");
if( manualRow.style.display == "none" ) {
viewHideButton.value = bundle.GetStringFromName("hiderow");
manualRow.style.display = "inherit";
}
else {
viewHideButton.value = bundle.GetStringFromName("viewrow");
manualRow.style.display = "none"
}
}