Fix for missing JS KeyEvent

Koos Vriezen koos.vriezen at xs4all.nl
Sat Sep 28 11:24:40 BST 2002


Hi,

I noticed that the onkeydown event in JS, as in
'document.onkeydown=myOnKeyDown;', gets an UIEvent and not a KeyEvent.
KHTML has support for it, but isn't available for JS. The attached patch
fills that gap. (I rather did it for onkeypress, but somehow
'NodeImpl::handleLocalEvents' can't find the listener for it).

Regards,

Koos Vriezen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: keyevents.diff.gz
Type: application/x-gunzip
Size: 5943 bytes
Desc: 
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20020928/4d0f36f5/attachment.bin>


More information about the kfm-devel mailing list