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

Alan D. - July 8, 2008 - 13:06

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.

#2

Alan D. - July 9, 2008 - 06:56

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

Alan D. - July 9, 2008 - 22:48
Title:webform integration» Irregular fieldset errors on Firefox

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

#4

sun - July 16, 2008 - 02:34
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.

 
 

Drupal is a registered trademark of Dries Buytaert.