Ticket #312 (new enhancement)

Opened 6 years ago

Last modified 6 years ago

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

Changed 6 years ago by MartinBudden

  • milestone set to 2.3

Changed 6 years ago by MartinBudden

  • milestone set to soon
Note: See TracTickets for help on using tickets.