mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
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