Ticket #1142 (closed enhancement: fixed)
use firePluginEvent() for all plugin event handling
| Reported by: | ray | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.95 |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
this removes some duplicate code and provides a more intuitive handling for plugin authors than notifyOn/notifyOf
to a note by gogo in the source: I dont' think that all plugins have to return false, because firePluginEvent() only listens for a postive return
After this update there are the following event handlers:
onGenerate onGenerateOnce onUpdateToolbar onExecCommand onKeyPress onMouseDown onBeforeSubmit onBeforeUnload onBeforeResize onResize onPanelChange onBeforeMode onMode
Change History
Note: See
TracTickets for help on using
tickets.
