summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-19 20:42:38 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-19 20:42:38 +0000
commitce0c2a13af7937b40a52541521d401e89ce9e613 (patch)
tree6317c6a009eb2f9c3ca279897e1540b85db4890d /roundcubemail/program/js
parent21b3b8c5dcd085bd1040add692b8fd6b09b33904 (diff)
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
Diffstat (limited to 'roundcubemail/program/js')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
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;