Ticket #312 (new enhancement)
Refactor all onClick methods so that they can be hijacked
| Reported by: | simon | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | soon |
| Component: | core | Version: | |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
For example if you try to hijack function onClickTag(e) you can't because window.event doesn't survive the hijacking. So any plugin writer who wants to customise the behaviours must replace the entire function. Better to refactor so that all onClick* methods just call another method that can be hijacked. Example: http://trac.tiddlywiki.org/tiddlywiki/browser/Trunk/contributors/SimonBaird/mptw/trunk/core/ExtendTagButtonPlugin.js
Change History
Note: See
TracTickets for help on using
tickets.
