mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 21:13:23 +01:00
Make sure there is jquery object on ckeditor container
This commit is contained in:
parent
f0502f45ba
commit
5b01269378
@ -272,7 +272,7 @@ var et2_htmlarea = et2_inputWidget.extend([et2_IResizeable],
|
|||||||
if (this.ckeditor) // CKEDITOR HTML
|
if (this.ckeditor) // CKEDITOR HTML
|
||||||
{
|
{
|
||||||
var h = 0;
|
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 ?
|
{ h = (this.ckeditor.container.$.clientHeight + _height) > 0 ?
|
||||||
this.ckeditor.container.$.clientHeight + _height: this.ckeditor.config.height;
|
this.ckeditor.container.$.clientHeight + _height: this.ckeditor.config.height;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user