I'm using CKEditor (3.3.0.5542). and a Zen sub-theme

Everything works fine in Firefox, but in IE I am getting the following javascript error:
Message: Object doesn't support this property or method
Line: 199
Char: 5
Code: 0
URI: http://www.defsome.com/sites/all/modules/wysiwyg/wysiwyg.js?p

when I change to Zen theme or Garland IE works fine.

Why do I get this error?
What do I need to add to my sub-theme in order to make it work?

Comments

gausarts’s picture

I am not sure, IIRC, but this sounds you need to aggregate your CSS. IE has limit to 31 CSS, this kind of error crops up. This appears only on pages with more than 31 CSS.

zps’s picture

I aggregate the CSS and Optimize JavaScript files but no change

gausarts’s picture

In fact I remembered wrongly, the aggregation solution was only for the error below which seems alike, but as I said "IIRC", sorry :)

Unexpected call to method or property access.

Searching around d.o and google, that error seems related to any specific code which you have to debug, I am afraid.

Hope others can help you.

seutje’s picture

Status: Active » Postponed (maintainer needs more info)

what version of IE and what version of wysiwyg api?

I can only guess that the offending line is if (classes[i].substr(0, 8) == 'wysiwyg-') {
which would suggest that the following line did not return and array of strings: var classes = element.className.split(' ');
which is probably due to some funky class names or something

does your document validate?

johnalbin’s picture

Component: IE Problems » layout.css
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing old bug reports.