mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 12:15:51 +00:00
14 lines
504 B
JavaScript
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"
|
|
}
|
|
} |