[patch] make enter/return on a link activate the onclick() javascript

Luciano Montanaro mikelima at cirulla.net
Wed May 11 18:01:25 BST 2005


Again, this is one line, and I'm not too sure its' correct.
It seems to work, though.

Current khtml follow the link if enter is pressed when a link is hilighted, 
but the associated onclick() is ignored in this case.

The patch calls click() when a keypress activates a link; I don't know if 
there is a better approach.

Luciano  


-- 
Luciano Montanaro       //
                    \\ //
                     \x/Un euro, un voto!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-enter-activate-onclick-for-links.patch
Type: text/x-diff
Size: 434 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050511/818d2eca/attachment.patch>


More information about the kfm-devel mailing list