fix the fix for #87177. thanks to walk84 for pointing it out.

r=walk84, sr=bienvenu
This commit is contained in:
sspitzer%netscape.com 2001-08-22 01:18:40 +00:00
parent 2b63b6ed15
commit 885c52c433

View File

@ -46,21 +46,16 @@
function Startup()
{
var aCheckbox = document.getElementById("offlineCompactFolder");
var aField = document.getElementById("offlineCompactFolderMin");
if(aCheckbox.checked)
aField.setAttribute("disabled", "true");
else
aField.removeAttribute("disabled");
enableField(aCheckbox, "offlineCompactFolderMin");
}
function enableField(aCheckbox, aNodeID)
{
var aField = document.getElementById(aNodeID);
if (aCheckbox.checked)
aField.setAttribute("disabled", "true");
else
aField.removeAttribute("disabled");
else
aField.setAttribute("disabled", "true");
}
</script>