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

geerlingguy’s picture

May 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...

geerlingguy’s picture

Hmm... looks like that line in my aggregated JS file is:

  // Alter menu on OG checkboxes change and init.
  if ($('.og-audience:checkbox').size()) {
    $('.og-audience:checkbox').change(toggleCheckboxes).ready(toggleCheckboxes);
  }

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:

		checkbox: function(elem){
			return "checkbox" === elem.type;
		},
geerlingguy’s picture

Status: Active » Closed (works as designed)

Looks 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.

geerlingguy’s picture

I also updated and closed this issue as a result of my investigation here: #1050434: jQuery Update breaks resizable textareas, WYSIWYG attach, in Internet Explorer.