Allow specifying the element that observe the knl's keydown handler.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 19 Feb 2010 00:33:50 +0000 (19:33 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 19 Feb 2010 00:37:35 +0000 (19:37 -0500)
commit4e53431d9caa24de6db1f0e36bde7e144a4f4e39
tree7be02d906ae08fc44a251fc714ef9171715e6a51
parent48a95974eed4dcd7dc4daf1eb5a8473ee802cd0a
Allow specifying the element that observe the knl's keydown handler.

This is needed in the case when there are other keydown events registered on the document.
There is no guarantee what order they will fire. So, in Kronolith for example, the event detail form
would receive an enter press and save the event before the autocompleter's knl would receive the event.
horde/js/KeyNavList.js
horde/js/autocomplete.js