Closed Bug 563615 Opened 14 years ago Closed 14 years ago

hideEmailAddressPopup is not defined in the standalone message window

Categories

(Thunderbird :: Message Reader UI, defect)

defect
Not set
normal

Tracking

(thunderbird3.1 .5-fixed)

RESOLVED FIXED
Thunderbird 3.3a1
Tracking Status
thunderbird3.1 --- .5-fixed

People

(Reporter: standard8, Assigned: squib)

References

Details

(Keywords: regression, Whiteboard: [good first bug])

Attachments

(1 file)

When showing and hiding the menu for a contact, I'm seeing:

Error: hideEmailAddressPopup is not defined
Source File: chrome://messenger/content/messageWindow.xul
Line: 1

This should probably be hideEmailNewsPopup like it is in messenger.xul
Attached patch Fix errorSplinter Review
This is my fault (fallout from bug 35689), so here's a fix.
Assignee: nobody → squibblyflabbetydoo
Jim: want to request review on this?
Jim, might Bug 565641 also be fallout from bug 35689?
Blocks: 35689
Keywords: helpwantedregression
Comment on attachment 443389 [details] [diff] [review]
Fix error

Blake, could you take a look at this? It should be simple. It also looks like this is the only place where we missed this: http://mxr.mozilla.org/comm-central/search?string=hideEmailAddressPopup
Attachment #443389 - Flags: review?(bwinton)
(In reply to comment #3)
> Jim, might Bug 565641 also be fallout from bug 35689?

I think it's actually fallout from bug 550487 (and hence a dupe of bug 563612).
Attachment #443389 - Flags: review?(bwinton) → review+
Comment on attachment 443389 [details] [diff] [review]
Fix error

>+++ b/mail/base/content/messageWindow.xul	Tue May 04 12:44:45 2010 -0500
>@@ -121,7 +121,7 @@
>-           onpopuphiding="hideEmailAddressPopup(findEmailNodeFromPopupNode(document.popupNode, 'emailAddressPopup'))">
>+           onpopuphiding="hideEmailNewsPopup(findEmailNodeFromPopupNode(document.popupNode, 'emailAddressPopup'))">

Okay, that makes sense, but I wonder if we should change setupEmailAddressPopup, too.

Either way, r=me.

Later,
Blake.
I noticed this hasn't been checked in, but it's passed review. Could someone with commit rights check it in?
Jim: just add checkin-needed to the keywords, and it'll be flagged up.

Note you should probably state if you're going to address comment 6 or not.
Alright, thanks. I wasn't sure if I was allowed to do that or not.

As for comment 6, there are separate functions "setupEmailAddressPopup" and "setupNewsgroupPopup", and they'd be tough to merge, but they can both use the same hide function.
Keywords: checkin-needed
Checked in: http://hg.mozilla.org/comm-central/rev/703a416ff5c3
Status: NEW → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.3a1
Comment on attachment 443389 [details] [diff] [review]
Fix error

Will consider for 3.1 as well.
Attachment #443389 - Flags: approval-thunderbird3.1.4?
Attachment #443389 - Flags: approval-thunderbird3.1.4? → approval-thunderbird3.1.5?
Comment on attachment 443389 [details] [diff] [review]
Fix error

a=Standard8, this seems like the right thing to do here.
Attachment #443389 - Flags: approval-thunderbird3.1.5? → approval-thunderbird3.1.5+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: