Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2019-11-26 14:40:58 +0300
committerAleksander Machniak <alec@alec.pl>2019-11-26 14:40:58 +0300
commit604e81489842473f2649471769051f42a3fb5309 (patch)
tree681e3c7447dd7b74141668c0ca709f64acd03906 /program
parent9219f4cd655727c289db0488a0d9a1446cf63c21 (diff)
Fix/remove useless keyup event handler on username input in logon form (#6970)
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 0a8e12afa..fc7083e1d 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -624,8 +624,6 @@ function rcube_webmail()
input_user = $('#rcmloginuser'),
input_tz = $('#rcmlogintz');
- input_user.keyup(function(e) { return ref.login_user_keyup(e); });
-
if (input_user.val() == '')
input_user.focus();
else
@@ -4487,26 +4485,6 @@ function rcube_webmail()
/*********************************************************/
- /********* login form methods *********/
- /*********************************************************/
-
- // handler for keyboard events on the _user field
- this.login_user_keyup = function(e)
- {
- var key = rcube_event.get_keycode(e),
- passwd = $('#rcmloginpwd');
-
- // enter
- if (key == 13 && passwd.length && !passwd.val()) {
- passwd.focus();
- return rcube_event.cancel(e);
- }
-
- return true;
- };
-
-
- /*********************************************************/
/********* message compose methods *********/
/*********************************************************/