From e45b7df5dd3911e0387b142660c6530afa6b06ac Mon Sep 17 00:00:00 2001 From: Magnus Melin Date: Wed, 13 Dec 2023 11:43:45 +0200 Subject: [PATCH] Bug 1703164 - convert mail/components/compose/content/dialogs/EdNamedAnchorProps.xhtml to top level . r=elizabeth Differential Revision: https://phabricator.services.mozilla.com/D194593 --HG-- extra : rebase_source : 7c36db216cb2db060fd1c5362792d9950027d90c extra : amend_source : f5686585319113636a57e103bd19a63b3706e9bc --- .../content/dialogs/EdNamedAnchorProps.js | 3 +- .../content/dialogs/EdNamedAnchorProps.xhtml | 135 ++++++++++-------- 2 files changed, 77 insertions(+), 61 deletions(-) diff --git a/mail/components/compose/content/dialogs/EdNamedAnchorProps.js b/mail/components/compose/content/dialogs/EdNamedAnchorProps.js index c943cc2833..f3cf2dba6f 100644 --- a/mail/components/compose/content/dialogs/EdNamedAnchorProps.js +++ b/mail/components/compose/content/dialogs/EdNamedAnchorProps.js @@ -10,8 +10,7 @@ var gAnchorElement = null; var gOriginalName = ""; const kTagName = "anchor"; -// dialog initialization code - +window.addEventListener("load", Startup); document.addEventListener("dialogaccept", onAccept); document.addEventListener("dialogcancel", onCancel); diff --git a/mail/components/compose/content/dialogs/EdNamedAnchorProps.xhtml b/mail/components/compose/content/dialogs/EdNamedAnchorProps.xhtml index d29e79ce3e..3703d14db0 100644 --- a/mail/components/compose/content/dialogs/EdNamedAnchorProps.xhtml +++ b/mail/components/compose/content/dialogs/EdNamedAnchorProps.xhtml @@ -1,70 +1,87 @@ - - + %edNamedAnchorProperties; %edDialogOverlay; ]> - - - - - - - - - - - + + + + + + + + + + + +