handle js error, if preview pane is down

This commit is contained in:
Klaus Leithoff 2014-06-26 08:24:16 +00:00
parent 23cbc01e2c
commit ebda07c37d

View File

@ -575,7 +575,7 @@ app.classes.mail = AppJS.extend(
children[i].destroy();
widget.removeChild(children[i]);
}
if (content.length == 1 && typeof content[0] != 'undefined')
if (content.length == 1 && typeof content[0] != 'undefined' && content[0])
{
content = content[0].split(',');
}