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

This commit is contained in:
Hadi Nategh 2015-04-01 07:34:02 +00:00
parent 1f88ddf303
commit 728b165720

View File

@ -240,7 +240,9 @@ app.classes.mail = AppJS.extend(
} }
else else
{ {
this.et2.getWidgetById('mail_htmltext').ckeditor.focus(); this.et2.getWidgetById('mail_htmltext').ckeditor.on('instanceReady', function(e) {
this.focus();
});
} }
} }
else if(to) else if(to)