From 65444ba8bca19fe042832831b31d06d8fa414e02 Mon Sep 17 00:00:00 2001 From: svncommit Date: Mon, 31 Mar 2008 14:52:03 +0000 Subject: Use keyup event instead of keypressed in login screen, closes #1484839. --- program/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 6e01dac9a..c88661123 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -315,7 +315,7 @@ function rcube_webmail() var input_user = rcube_find_object('rcmloginuser'); var input_pass = rcube_find_object('rcmloginpwd'); if (input_user) - input_user.onkeypress = function(e){ return rcmail.login_user_keypress(e); }; + input_user.onkeyup = function(e){ return rcmail.login_user_keyup(e); }; if (input_user && input_user.value=='') input_user.focus(); else if (input_pass) @@ -1677,7 +1677,7 @@ function rcube_webmail() /*********************************************************/ // handler for keyboard events on the _user field - this.login_user_keypress = function(e) + this.login_user_keyup = function(e) { var key = rcube_event.get_keycode(e); var elm; -- cgit v1.2.3