summaryrefslogtreecommitdiff
path: root/web-ui/app/js
diff options
context:
space:
mode:
authorGiovane <giovaneliberato@gmail.com>2015-10-23 15:36:37 -0200
committerGiovane <giovaneliberato@gmail.com>2015-10-23 15:36:37 -0200
commit07ed2f21d42e4f4c60b0897d98051b8385de2c04 (patch)
tree19a260c84be81e57be82eb0886d97caa8bc66fe4 /web-ui/app/js
parent72e332e2969d4eb36c9cd64336c1f1d89b6185f1 (diff)
Exclude comma and semicolon on invalid address split
Diffstat (limited to 'web-ui/app/js')
-rw-r--r--web-ui/app/js/mail_view/ui/recipients/recipients_input.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/js/mail_view/ui/recipients/recipients_input.js b/web-ui/app/js/mail_view/ui/recipients/recipients_input.js
index 54c8fed9..3e80b49e 100644
--- a/web-ui/app/js/mail_view/ui/recipients/recipients_input.js
+++ b/web-ui/app/js/mail_view/ui/recipients/recipients_input.js
@@ -136,7 +136,7 @@ define([
};
this.extractInvalidAddresses = function(rawAddresses) {
- return rawAddresses.replace(emailAddressMatch, '').split(' ');
+ return rawAddresses.replace(emailAddressMatch, '').split(/[ ,;]/);
};
this.init = function () {