Irregular fieldset errors on Firefox
Alan D. - July 8, 2008 - 05:12
| Project: | Webform |
| Version: | 5.x-2.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
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.

#1
Added a quick fix to disable the collapse using hook_form_alter and this resolved the error:
<?phpif ($form_id == 'webform_node_form' && isset($form['webform']['settings'])) {
$form['webform']['settings']['#collapsible'] = FALSE;
}
?>
The fieldset has two TinyMCE editors embedded in it.
#2
Similar bug is happening on the user edit screen as well. Again related to fieldsets, but the form alter trick above didn't work.
#3
Better reflects the problem. Currently limited to webform edit page and user edit page.
#4
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.
#5
Take your pick:
#154531: Problems with Collapsible Fieldsets in Firefox
#219274: Admin pages collapsible fieldset rendering issue on OS X Firefox 2, Drupal 5.6
#209420: Toggling collapsible fieldsets doesn't work in some browsers
#245516: The titles in the collapsible fieldsets are missing!
#146427: Collapsible fieldset legends disappearing
#109427: Collapsible fieldsets' titles vanish on Firefox 2.0.0.1.
#81863: Collapsible fieldsets are broken
#104175: Fieldset titles sometimes invisible in Garland