Closed Bug 220303 Opened 22 years ago Closed 22 years ago

Need to tidy up onclick/listeners in mail/news windows

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

Attachments

(1 file)

Currently we both listen for click events and use onclick within mail3PaneWindowVertLayout.xul, messageWindow.xul and messenger.xul would be good to tidy these up into a simple onclick.
Accepting
Status: NEW → ASSIGNED
This patch tidies up how we look for a click and addresses the issue of an exception being thrown in a listener when we click on an illegal link, by removing the listener and changing the function that onclick calls to be an amended version of the listener's original function that in turn calls the onclick's original function.
Attachment #132162 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 132162 [details] [diff] [review] Patch v0.1 to tidy up listener/onclick This is just extracted from another patch that I already gave r= to, right?
Attachment #132162 - Flags: review?(neil.parkwaycc.co.uk) → review+
Yep ;-)
Attachment #132162 - Flags: superreview?(bienvenu)
Comment on attachment 132162 [details] [diff] [review] Patch v0.1 to tidy up listener/onclick sr=bienvenu
Attachment #132162 - Flags: superreview?(bienvenu) → superreview+
Fixed checked in by timeless, thank you timeless.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
Verified FIXED via code inspection through LXR, and the fact that this works regression-free.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: