mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Make sure there is jquery object on ckeditor container
This commit is contained in:
parent
7166e09491
commit
2425f16da8
@ -272,7 +272,7 @@ var et2_htmlarea = et2_inputWidget.extend([et2_IResizeable],
|
||||
if (this.ckeditor) // CKEDITOR HTML
|
||||
{
|
||||
var h = 0;
|
||||
if (this.ckeditor.container.$.clientHeight > 0)
|
||||
if (typeof this.ckeditor.container.$ != 'undefined' && this.ckeditor.container.$.clientHeight > 0)
|
||||
{ h = (this.ckeditor.container.$.clientHeight + _height) > 0 ?
|
||||
this.ckeditor.container.$.clientHeight + _height: this.ckeditor.config.height;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user