Fix for missing JS KeyEvent

David Faure david at mandrakesoft.com
Sun Sep 29 17:48:55 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 28 September 2002 12:24, Koos Vriezen wrote:
> 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).

Ah it's new-in-DOM3? Interesting.
The patch looks fine to me.

- -- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
Get the latest KOffice - http://download.kde.org/stable/koffice-1.2/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9ly7372KcVAmwbhARAi/FAKCXecz6khaG5hBRFDp72dPx5dO1OgCfb7qn
Qe1oszStjzurDGzwlDyfOrA=
=u3VB
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list