mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 00:02:37 +00:00
Hide 'URL is relative...' checkbox in Messenger Composer, b=101559, r=brade, sr=kin
This commit is contained in:
parent
2094dffd34
commit
d0da434664
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user