﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1654	E.contentWindow.document.body.innerHTML does not exist	Jörg Roßdeutscher		"Line 48 in fckeditor_gecko.js gives me an error in Firefox with FCKeditor release 2.5.

I tracked it down to:
{{{
if (E.contentWindow ) E.contentWindow.document.body.innerHTML='';
}}}
Even I don´t know exactly what´s happening here the ""style"" seems not to be clean for me: Checking if an object exist and then accessing two levels deeper than checked.

I changed to:
{{{
if (E.contentWindow && E.contentWindow.document && E.contentWindow.document.body ) E.contentWindow.document.body.innerHTML='';
}}}
and now everything works as expected.
"	Bug	closed	Normal	FCKeditor 2.6	General	FCKeditor 2.5	fixed	Review+	
