Opened 11 months ago
#4575 new Enhancement
elgg.action should trigger standard plugin hooks
| Reported by: | ewinslow | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Elgg 1.9.0 |
| Component: | JavaScript | Version: | 1.8.5 |
| Severity: | minor | Keywords: | |
| Cc: | brett@… | Difficulty: | easy |
Description
specifically:
- action:before, $action
- action:complete, $action
- action:success, $acton
- action:error, $action
The would allow UI elements to listen for actions in a highly decoupled way (i.e. don't have to register click listeners on particular UI elements, just listen globally for the action to be executed).
Note: See
TracTickets for help on using
tickets.
