summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2008-03-31 14:52:03 +0000
committersvncommit <devs@roundcube.net>2008-03-31 14:52:03 +0000
commit65444ba8bca19fe042832831b31d06d8fa414e02 (patch)
tree4eb8fa3d230db927d900682ffa0e7db4806dba0d /program/js/app.js
parent21168d21cc75f6ccf79416e76b8e52f78afae181 (diff)
Use keyup event instead of keypressed in login screen, closes #1484839.
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js4
1 files 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;