Update element() to reflect new Event handling model
authorMichael M Slusarz <slusarz@curecanti.org>
Sun, 18 Jan 2009 01:25:28 +0000 (18:25 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Sun, 18 Jan 2009 01:25:28 +0000 (18:25 -0700)
commitb4eb6ce0b7cdfa4a9a1c12f1e8246073e33cdc4d
treec0315f2c6bb731e0115c4a1658f957a206f95c46
parent974a8c188d9ebc3a4b9ccdf5f6ab1c54882e4555
Update element() to reflect new Event handling model

Since there is no guarantee which order document-wide events are
processed, it is possible that by the time an event handler deals with
an event, the contextmenu has already been closed. Therefore, we need to
keep information on the last opened menu for element() purposes.
imp/js/ContextSensitive.js
imp/js/src/ContextSensitive.js