Ive been having trouble getting Wysiwyg to show up (with any editor). I noticed the console error i get is:

Cannot read property 'mozilla' of undefined.
Not sure which js file its coming from, but the code is:

if ($.browser.mozilla) {
$('#hierarchical-select-'+ hsid +'-wrapper').parents('form').attr('autocomplete', 'off');
}

Comments

TwoD’s picture

Category: Bug report » Support request
Status: Active » Fixed

This code is not from Wysiwyg module. The console should say which file and in which line the error gets thrown.
Any error thrown before Wysiwyg's scripts are executed can force the browser to halt all script execution, thus preventing any editors from appearing.

If I were to guess, it looks like the Hierarchial select module depends on an older jQuery version (as is shipped with Drupal 7) and it fails because jQuery Update was used to load a later version, where the jQuery.browser information has been removed.

Switch back to an earlier jQuery version which is more compatible with the version originally shipped with D7 and you should be fine. (Alternatively, ask the Hierarchial select modul maintainers to not depend on jQuery.browser, but that doesn't guarantee other modules won't fail in similar ways.)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.