From ebda07c37dae5f2e01803f8c656ce85ffb4fb18d Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 26 Jun 2014 08:24:16 +0000 Subject: [PATCH] handle js error, if preview pane is down --- mail/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/js/app.js b/mail/js/app.js index 4c3aea787d..4b3b9ed841 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -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(','); }