From ce0c2a13af7937b40a52541521d401e89ce9e613 Mon Sep 17 00:00:00 2001 From: thomasb Date: Tue, 19 Apr 2011 20:42:38 +0000 Subject: Don't check identity email if not editable; fix import message git-svn-id: https://svn.roundcube.net/trunk@4669 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/js') diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 5826636a7..6c6fd7b0a 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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; -- cgit v1.2.3