diff --git a/mail/js/app.js b/mail/js/app.js index 25f0471aca..5415f820e9 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -6063,7 +6063,7 @@ app.classes.mail = AppJS.extend( actions = actions.split(','); for (var i=0; i < actions.length; i++) { - if (toolbar.options.actions[actions[i]]) + if (toolbar && toolbar.options.actions[actions[i]]) { var $d = jQuery('#composeToolbar-'+actions[i]); if ($d.length > 0