Closed (cannot reproduce)
Project:
Zen
Version:
6.x-1.1
Component:
layout.css
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2010 at 09:06 UTC
Updated:
18 Aug 2013 at 08:27 UTC
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
Comment #1
gausarts commentedI 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.
Comment #2
zps commentedI aggregate the CSS and Optimize JavaScript files but no change
Comment #3
gausarts commentedIn fact I remembered wrongly, the aggregation solution was only for the error below which seems alike, but as I said "IIRC", sorry :)
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.
Comment #4
seutje commentedwhat 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?
Comment #5
johnalbinClosing old bug reports.