[TYPO3-core] RFC: fix bugs #3655 and #4701 - no wrappers for certain events

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sat Feb 3 14:31:21 CET 2007


Hi!

This is a SVN patch request for trunk:

Problem: it's not possible to set JS wrappers for onunload and other events.

Solution: simply extend the event array an loop over it.

But after writing I was wondering if the events are applied correctly 
(window vs. document vs document.body). Plus there is the issue of the 
old codes questionable behaviour of setting both an onload-attribute and 
an event property.

What do you think?

Masi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: events.diff
Type: text/x-diff
Size: 3326 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070203/bd74eb6d/attachment.bin 


More information about the TYPO3-team-core mailing list