Closed
Bug 389997
Opened 18 years ago
Closed 1 year ago
Provide 'before' and 'after' hooks for __display
Categories
(Other Applications Graveyard :: ChatZilla, enhancement)
Other Applications Graveyard
ChatZilla
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: bugzilla-mozilla-20000923, Assigned: rginda)
Details
Lots of plugins want to do something to the display, and currently this is exceptionally tricky: they must replace __display with their own wrapper, and pass-through parameters and such.
I propose two hooks for plugins/etc. to use:
'before' display - same arguments as __display, called before anything serious occurs, and perhaps should feature a way to change these arguments (pass as props on an object?)
'after' display - same arguments as __display, although modifications are not useful here, but in addition include at least the <TR> DOM object, potentially also the individual <TD> cells.
Not sure what hook mechanism would be best, since this doesn't really fit with the event pump (and that would slow us down more, if we had to wait for more events to go through to display things).
Updated•1 year ago
|
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
Updated•1 year ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•