Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
With the current dev, the filtering fieldset code fires twice for some reason. I see in my browser error console:
filtering to show file_upload
filtering to show
The second one hides all the options, but doesn't show one. Attached patch fixes the issue.
Comment | File | Size | Author |
---|---|---|---|
taxonomy_xml-filtering_fieldset.patch | 746 bytes | John Franklin |
Comments
Comment #1
dman CreditAttribution: dman commentedHm. That old fieldset trick in the UI should sometime be refactored to use the D7 form API conditions to hide and show stuff eventually.
Comment #2
John Franklin CreditAttribution: John Franklin commentedI was wondering why it used custom jQuery.
Comment #3
dman CreditAttribution: dman commentedI worked it up back in 2008 or so :-}
It just never got replaced because it took me 2 years of D7 to even discover that some new FAPI had introduced a very under-advertised #states thing that is now similar to what I wanted back then.