Ticket #1142 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

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

Changed 4 years ago by ray

  • status changed from new to closed
  • resolution set to fixed

committed rev [955]

Note: See TracTickets for help on using tickets.