diff --git a/mailnews/base/resources/content/messageWindow.xul b/mailnews/base/resources/content/messageWindow.xul index 9f64d14eec..e0ac97fcbf 100644 --- a/mailnews/base/resources/content/messageWindow.xul +++ b/mailnews/base/resources/content/messageWindow.xul @@ -120,6 +120,8 @@ + + diff --git a/mailnews/base/resources/content/messenger.xul b/mailnews/base/resources/content/messenger.xul index fc9e0f64c7..f8b7f9fddd 100644 --- a/mailnews/base/resources/content/messenger.xul +++ b/mailnews/base/resources/content/messenger.xul @@ -128,6 +128,8 @@ + + diff --git a/mailnews/base/resources/content/msgHdrViewOverlay.js b/mailnews/base/resources/content/msgHdrViewOverlay.js index 17e463c060..ab26ec22ea 100644 --- a/mailnews/base/resources/content/msgHdrViewOverlay.js +++ b/mailnews/base/resources/content/msgHdrViewOverlay.js @@ -1568,6 +1568,20 @@ function ClearEditMessageButton() editBox.collapsed = true; } +// CopyWebsiteAddress takes the website address title button, extracts +// the website address we stored in there and copies it to the clipboard +function CopyWebsiteAddress(websiteAddressNode) +{ + if (websiteAddressNode) + { + var websiteAddress = websiteAddressNode.getAttribute("value"); + + var contractid = "@mozilla.org/widget/clipboardhelper;1"; + var iid = Components.interfaces.nsIClipboardHelper; + var clipboard = Components.classes[contractid].getService(iid); + clipboard.copyString(websiteAddress); + } +} var attachmentAreaDNDObserver = { onDragStart: function (aEvent, aAttachmentData, aDragAction) diff --git a/mailnews/base/resources/content/msgHdrViewOverlay.xul b/mailnews/base/resources/content/msgHdrViewOverlay.xul index edede2ad5e..3cb27c3938 100644 --- a/mailnews/base/resources/content/msgHdrViewOverlay.xul +++ b/mailnews/base/resources/content/msgHdrViewOverlay.xul @@ -126,6 +126,10 @@ accesskey="&deleteAllAttachmentsCmd.accesskey;" oncommand="HandleMultipleAttachments('deleteAttachment', currentAttachments);" /> + + + + diff --git a/suite/locales/en-US/chrome/mailnews/msgHdrViewPopup.dtd b/suite/locales/en-US/chrome/mailnews/msgHdrViewPopup.dtd index c7dc8b3e1b..00ebcd3ecb 100644 --- a/suite/locales/en-US/chrome/mailnews/msgHdrViewPopup.dtd +++ b/suite/locales/en-US/chrome/mailnews/msgHdrViewPopup.dtd @@ -46,6 +46,8 @@ + +