Closed (works as designed)
Project:
Wysiwyg Linebreaks
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
4 Feb 2011 at 19:29 UTC
Updated:
4 Feb 2011 at 21:16 UTC
This is quite odd, as this problem only occurs in Internet Explorer 7, 8 and 9, and only occurs to non-admin users. I get two JS errors when this module is enabled along with jQuery Update (2.x) and WYSIWYG, and the second error displays in IE's error log as follows:
Line: 97
Character: 3
Error: 'undefined' is null or not an object
When I disable jQuery Update, this error goes away...
The other error comes from jQuery's jquery.js file (uncompressed):
Line: 1889
Character: 4
Error: <none>
I'll have to look at the js file for this module and see if we're maybe conflicting with what's in jQuery there...
Comments
Comment #1
geerlingguy commentedMay be related to #593008: Third-party scripts breaking Wysiwyg, but I've updated to WYSIWYG 6.x-2.3, and I think the patch in that issue was applied already...
Comment #2
geerlingguy commentedHmm... looks like that line in my aggregated JS file is:
Maybe not related to this project, necessarily... could be some sort of variable or namespace collision :(
The other error crops up on this line, in the development version of jquery.js:
Comment #3
geerlingguy commentedLooks like the problem stemmed from the first bit of code in the post above, which comes from the OG Menu project... marking as closed, no problems here :-/
Though, I wonder why this module being enabled or disabled made any difference at all!
I've opened up #1051542: Incompatibility with jQuery Update. Problems with WYSIWYG, WYSIWYG Force Linebreaks, and "Delete this menu item." being checked. as a result of this issue.
Comment #4
geerlingguy commentedI also updated and closed this issue as a result of my investigation here: #1050434: jQuery Update breaks resizable textareas, WYSIWYG attach, in Internet Explorer.