Hide 'URL is relative...' checkbox in Messenger Composer, b=101559, r=brade, sr=kin

This commit is contained in:
cmanske%netscape.com 2001-10-02 23:39:01 +00:00
parent 2094dffd34
commit d0da434664

View File

@ -1192,6 +1192,13 @@ function SetRelativeCheckbox()
if (!checkbox)
return;
// Mail never allows relative URLs, so hide the checkbox
if (editorShell.editorType == "htmlmail")
{
checkbox.setAttribute("collapsed", "true");
return;
}
var input = document.getElementById(checkbox.getAttribute("for"));
if (!input)
return;