Bug 1140368 - properly initialize "View attachments inline" menuitem also in the appmenu. r=mkmelin
This commit is contained in:
Родитель
5cb62fe6fa
Коммит
a43b2f5ed0
mail/base/content
|
@ -256,6 +256,11 @@ function view_init()
|
|||
document.getElementById("viewAttachmentsInlineMenuitem")
|
||||
.setAttribute("checked", viewAttachmentInline);
|
||||
|
||||
let viewAttachmentInlineMenu =
|
||||
document.getElementById("appmenu_viewAttachmentsInlineMenuitem");
|
||||
if (viewAttachmentInlineMenu)
|
||||
viewAttachmentInlineMenu.setAttribute("checked", viewAttachmentInline);
|
||||
|
||||
document.commandDispatcher.updateCommands('create-menu-view');
|
||||
|
||||
// Disable the charset item if there's nothing to enable
|
||||
|
|
Загрузка…
Ссылка в новой задаче