Robin Elfrink wrote:
Thomas Bruederli wrote:
And one last suggestion: var key = e && e.keyCode ? e.keyCode : event.keyCode;
Event properties actually have nothing to do with document.*
Duh. I copied the line from function this.name_input_keypress(). I see now that that function handles document-wide key events.
Well, then it's time to manage this uniquely. I just created another static method in rcube_event to get the event's key code (revision 527).
~Thomas