diff options
author | thomascube <thomas@roundcube.net> | 2011-04-19 20:42:38 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-04-19 20:42:38 +0000 |
commit | 41d2b7f895805cb3a3dc6a18ce3dd95e2ecd460d (patch) | |
tree | 4060371d884861f0daddc3041f91fb0cda41908f /program/js | |
parent | bbb1427caabba60e4329d4b3653fbf29d5ddddcc (diff) |
Don't check identity email if not editable; fix import message
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index 5826636a7..6c6fd7b0a 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -654,7 +654,7 @@ function rcube_webmail() input_name.focus(); break; } - else if (this.task == 'settings' && input_email.length && !rcube_check_email(input_email.val())) { + else if (this.task == 'settings' && input_email.length && (this.env.identities_level % 2) == 0 && !rcube_check_email(input_email.val())) { alert(this.get_label('noemailwarning')); input_email.focus(); break; |