Closed (works as designed)
Project:
Drupal core
Version:
5.7
Component:
javascript
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jun 2008 at 16:38 UTC
Updated:
28 Feb 2009 at 20:08 UTC
eg. a markup element in a form that contain something like
$form['fieldsetname']['fieldN']=array('#value'=>'text text <a href="link">pippo</a>');
get rendered by JS as if the <a> tag was inside a <div class="fieldset-wrapper">
workaround is wrapping everything in another div
Comments
Comment #1
dave reidAs far as I can tell, this is by design. If you have elements inside of a collapsible fieldset, they need to be wrapped in
<div class="fieldset-wrapper">so that everything inside the field set actually can be collapsed.