Just updated to the rc1 and the webform in Firefox 2 has broken. Maybe related to fieldset error:

Error is "$ is not defined", var fieldset = $(this.parentNode); line 57, collaspe.js

Thx.

Comments

alan d.’s picture

Added a quick fix to disable the collapse using hook_form_alter and this resolved the error:

<?php
if ($form_id == 'webform_node_form' && isset($form['webform']['settings'])) {
  $form['webform']['settings']['#collapsible'] = FALSE;
}
?>

The fieldset has two TinyMCE editors embedded in it.

alan d.’s picture

Similar bug is happening on the user edit screen as well. Again related to fieldsets, but the form alter trick above didn't work.

alan d.’s picture

Title: webform integration » Irregular fieldset errors on Firefox

Better reflects the problem. Currently limited to webform edit page and user edit page.

sun’s picture

Project: jQuery Update » Webform
Version: 5.x-2.0-rc1 » 5.x-2.x-dev
Component: Miscellaneous » User interface

TinyMCE module is a pain and known to break with later jQuery versions. You might want to try Wysiwyg Editor module, which works flawlessly with any jQuery version.

Moving over to Webform's queue for now, because this can't be solved in jQuery Update.