Ticket #800 (closed defect: fixed)
Errors with Xinha for IE6.0.2900.2180
|Reported by:||the_therapist||Owned by:||gogo|
|Severity:||normal||Keywords:||exception thrown, ie6|
Xinha works fine with Firefox 1.5, but fails to load in IE6. I have tried the latest nightly version as of 2006-5-18 as well as two older version from several months ago.
I am using the full Xinha toolbar, one textarea and the following plugins:
In IE6 I receive the following error and the editor failed to load:
Exception thrown and not caught
I traced it to line 79 of htmlarea.js:
if(!textarea) throw("Tried to create HTMLArea without textarea specified.");
After commenting out that line I received this error in IE6:
Error: 'Style is null or not an object
I traced it to line 98-99 of htmlarea.js and commented out the following:
w: textarea.style.width ? textarea.style.width : (textarea.offsetWidth ? (textarea.offsetWidth + 'px') : (textarea.cols+'em')), h: textarea.style.height ? textarea.style.height : (textarea.offsetHeight ? (textarea.offsetHeight + 'px') : (textarea.rows+'em'))
Perhaps I have something named wrong, a config issue on the page with the textarea, but I could not see one, or find any reference to the first error.