Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2009 at 02:48 UTC
Updated:
22 Sep 2009 at 20:50 UTC
When dependent.inc is used and #process = ctools_process_dependency is set on a form element that is contained within a collapsed fieldset, the correct initial state of that element is not set, if it should be hidden. (i.e. opening the form should now show the item, but it is shown and toggling the settings on the dependent element, will then cause the item to hide.)
Comments
Comment #1
merlinofchaos commentedSo jQuery.hide() doesn't hide if it's already hidden. SO when the collapsible fieldset uncollapses, it unhides. css('display', 'none') works, though.