forked from extern/egroupware
textAreaWidget.ckeditor is null not undefined
This commit is contained in:
parent
979a910e7f
commit
cf332755e9
@ -249,7 +249,7 @@ app.classes.mail = AppJS.extend(
|
||||
});
|
||||
/*Trigger compose_resizeHandler after the CKEditor is fully loaded*/
|
||||
jQuery('#mail-compose').on ('load',function() {
|
||||
if (textAreaWidget && typeof textAreaWidget.ckeditor != 'undefined')
|
||||
if (textAreaWidget && textAreaWidget.ckeditor)
|
||||
{
|
||||
textAreaWidget.ckeditor.on('instanceReady', function(){that.compose_fieldExpander();});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user