Closed
Bug 711779
Opened 13 years ago
Closed 13 years ago
Add Bookmark This Link to feeds' Website header link context menu
Categories
(SeaMonkey :: MailNews: Message Display, enhancement)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
seamonkey2.9
People
(Reporter: InvisibleSmiley, Assigned: InvisibleSmiley)
Details
Attachments
(1 file)
3.96 KB,
patch
|
mnyromyr
:
review+
mnyromyr
:
superreview+
|
Details | Diff | Splinter Review |
If you view a feed item in MailNews which contains a Website (Content-Base) header, you can either click it or context-click it. In the latter case, only Copy Link Location is offered currently. This bug is about adding Bookmark This Link to the context menu, using the Subject header value as default bookmark title. Note: If review takes longer, please consider giving f+ and allowing me to land the strings in advance (next Aurora merge is only two days ahead). Also, if SR is needed, please request it since I'm assuming this is a MOA case. BTW: See bug 224433 comment 11 regarding the general context menu item's label.
Attachment #582604 -
Flags: review?(mnyromyr)
Assignee | ||
Comment 1•13 years ago
|
||
Comment on attachment 582604 [details] [diff] [review] patch [Checkin: comment 3] Review of attachment 582604 [details] [diff] [review]: ----------------------------------------------------------------- ::: suite/mailnews/msgHdrViewOverlay.js @@ +1707,5 @@ > + > + if (currentHeaderData && "content-base" in currentHeaderData) > + { > + var url = currentHeaderData["content-base"].headerValue; > + if (url != websiteAddressNode) bah, make that websiteAddress (forgot to hg qrefresh before attaching the patch)
Comment 2•13 years ago
|
||
Comment on attachment 582604 [details] [diff] [review] patch [Checkin: comment 3] Just formal nitpicking, apart from the bug you already noticed. >+function BookmarkWebsite(websiteAddressNode) The parameter should be named aWebsiteAddressNode. >+ var websiteAddress = websiteAddressNode.getAttribute("value"); >+ var url = currentHeaderData["content-base"].headerValue; >+ var title = currentHeaderData["subject"].headerValue; Subscope variables should use let. r/moa=me with that and the bug fixed.
Attachment #582604 -
Flags: superreview+
Attachment #582604 -
Flags: review?(mnyromyr)
Attachment #582604 -
Flags: review+
Assignee | ||
Comment 3•13 years ago
|
||
Comment on attachment 582604 [details] [diff] [review] patch [Checkin: comment 3] http://hg.mozilla.org/comm-central/rev/f59488355a18
Attachment #582604 -
Attachment description: patch → patch [Checkin: comment 3]
Assignee | ||
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.9
Comment 4•13 years ago
|
||
Mozilla/5.0 (X11; Linux x86_64; rv:12.0a1) Gecko/20111223 Firefox/12.0a1 SeaMonkey/2.9a1 ID:20111223003001 The "Website" link which appears in the headers of a feed item now has a "Bookmark This Link" menuitem in addition to "Copy Link Location" which I've always seen there. Checked in all three of: preview pane, message tab, message window. => VERIFIED.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•