Closed Bug 579417 Opened 14 years ago Closed 14 years ago

widget should allow multiple listeners for same event

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: myk, Assigned: myk)

Details

Attachments

(1 file)

The widget's internal event listener registration code should allow the registration of multiple listeners for the same widget event so that widgets with panels can register an extra click event for opening their panels.
Here's a patch (split off from the WIP patch in bug 494238) that makes the necessary changes.
Attachment #457903 - Flags: review?(dietrich)
Comment on attachment 457903 [details] [diff] [review]
patch v1: makes change

Erm, I just realized there's a better way to open a panel on a click event that doesn't require registering multiple click handlers.
Attachment #457903 - Flags: review?(dietrich)
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.

To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: