diff --git a/editor/ui/dialogs/content/EdDialogCommon.js b/editor/ui/dialogs/content/EdDialogCommon.js index 9d3245fd066a..aa2d7ba8c2d2 100644 --- a/editor/ui/dialogs/content/EdDialogCommon.js +++ b/editor/ui/dialogs/content/EdDialogCommon.js @@ -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;