﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4566	IE7 - setData yields this.$.innerHTML is null or not an object	Erik Kangas		" * Only affects Internet Explorer v7 (have not tested v6).
 * Does not affect Opera, Chrome, and FireFox (latest versions).
 * Does not affect IE v8

Description:

 * When using setData on an editor object in Internet Explorer, the data does get set correctly and rendered correctly, however, the error ""this.$.innerHTML is null or not an object"" is generated.

MS Script Debugger shoes that the error happens in the ckeditor.js on line 15 at:

{{{
getHtml:function(){return this.$.innerHTML;}
}}}

If I do a JavaScript ""alert"" right before the setData, then there is no error.  However, delaying the setData using a setTimeout does not help. 

I have found a workaround.  I changed the offending code to:

{{{
getHtml:function(){return (this.$) ? this.$.innerHTML : """";}
}}}

... and the error goes away."	Bug	closed	Normal		General	3.0.1	expired	Pending	Erik Kangas
