summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/app.js
diff options
context:
space:
mode:
authorrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-03-31 14:52:03 +0000
committerrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-03-31 14:52:03 +0000
commit0318aa95c43486334dd8e21ffd8ef7e220faef8f (patch)
treedc24fc7039f6843d32a5bf84d9ff4b882363fda6 /roundcubemail/program/js/app.js
parent4f8a952d01fde49876299decb3dbfbd2f0f7a784 (diff)
Use keyup event instead of keypressed in login screen, closes #1484839.
git-svn-id: https://svn.roundcube.net/trunk@1226 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/app.js')
-rw-r--r--roundcubemail/program/js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 6e01dac9a..c88661123 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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;