forked from extern/egroupware
fix javascript error "no method indexOf of undefined"
This commit is contained in:
parent
eb4537ab0e
commit
d6b3362420
@ -674,6 +674,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
var remembervalue = '';
|
var remembervalue = '';
|
||||||
for(var i = 0; i < content.length; i++)
|
for(var i = 0; i < content.length; i++)
|
||||||
{
|
{
|
||||||
|
if (typeof content[i] != 'string' || !content[i]) continue;
|
||||||
// if there is no @ in string, its most likely that we have a comma in the personal name part of the emailaddress
|
// if there is no @ in string, its most likely that we have a comma in the personal name part of the emailaddress
|
||||||
if (content[i].indexOf('@')<0)
|
if (content[i].indexOf('@')<0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user