„js/origrcv.js“ ändern
This commit is contained in:
parent
361d082c4e
commit
c6935a04c4
@ -50,7 +50,7 @@ Zarafa.plugins.origrcv.OrigRcvPlugin = Ext.extend(Zarafa.core.Plugin, {
|
|||||||
var headers = record.get('transport_message_headers');
|
var headers = record.get('transport_message_headers');
|
||||||
var toMatches = toRegex.exec(headers);
|
var toMatches = toRegex.exec(headers);
|
||||||
|
|
||||||
if (toMatches.length == 2 && toMatches[1] != "") {
|
if (toMatches != null && toMatches.length == 2 && toMatches[1] != "") {
|
||||||
var addrListRegex = /\b[A-Z0-9._%+-]+@(?:[A-Z0-9-]+\.)+[A-Z]{2,6}\b/ig; // split email address list
|
var addrListRegex = /\b[A-Z0-9._%+-]+@(?:[A-Z0-9-]+\.)+[A-Z]{2,6}\b/ig; // split email address list
|
||||||
|
|
||||||
var emailAddresses = [];
|
var emailAddresses = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user