Fix mail compose not getting in focus on body when using html

This commit is contained in:
Hadi Nategh 2015-04-01 07:36:28 +00:00
parent 38f4980849
commit ca92a7da1b

View File

@ -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)