diff --git a/mail/js/app.js b/mail/js/app.js index d54a0e7659..56c1dc4385 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -240,7 +240,9 @@ app.classes.mail = AppJS.extend( } else { - this.et2.getWidgetById('mail_htmltext').ckeditor.focus(); + this.et2.getWidgetById('mail_htmltext').ckeditor.on('instanceReady', function(e) { + this.focus(); + }); } } else if(to)