[TYPO3-core] RFC: fix bugs #3655 and #4701 - no wrappers for certain events
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Sun Feb 4 16:44:18 CET 2007
Oliver Hader schrieb:
> Hi Masi,
>
> Martin Kutschker wrote:
>> 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
>
> First of all: Good idea! ;-)
>
> I tested the functionality in frontend with onload and onkeydown events.
> Firefox2 works like a charm, IE7 doesn't!
Interesting as there was no change in the JS code for onload at all! An
according to the docs on MSDN onkeydown is a property of the document
object. onload used to work for document, but is accordiing to both IE
and Firefox docs really a property of the window object.
Masi
More information about the TYPO3-team-core
mailing list