Closed (duplicate)
Project:
Tao
Version:
7.x-3.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2011 at 10:53 UTC
Updated:
29 Aug 2011 at 16:20 UTC
Fieldsets are missing the form-wrapper class, from form.inc:
// The .form-wrapper class is required for #states to treat fieldsets like containers.
I was having some trouble with visibility state not applying correctly for some items (seemed to work sometimes, other times display: none; was applied to each form item rather than the fieldset itself), adding this to preprocess_fieldset appears to solved the issue:
$vars['attributes']['class'][] = 'form-wrapper';
Just for clarify my fieldsets are in vertical tabs.
Comments
Comment #1
timcosgrove commentedThis is a duplicate of http://drupal.org/node/1105086 .
Comment #2
coffeymachine commentedI'm going to close this as a duplicate of the issue mentioned above #1105086