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.
Just scratching an itch...
I've written a patch to collapse all fieldsets on the theme settings form, not just the ones presently being targeted.
I wanted my Touch Icons fieldset to be collapsible when used with AdaptiveTheme, but this patch will also benefit other modules like DesignKit.
The existing code doesn't put a <div class="*-settings-wrapper">
wrapper around the theme_specific fieldset (I'm not sure why... any special reason?) I've kept that behaviour with my patch, though there doesn't seem to be any harm putting the wrapper around the theme_specific fieldset, too.
Comment | File | Size | Author |
---|---|---|---|
#1 | adaptivetheme-696686.patch | 2.4 KB | andrewmacpherson |
Comments
Comment #1
andrewmacpherson CreditAttribution: andrewmacpherson commentedhere comes the patch...
Comment #2
Jeff Burnz CreditAttribution: Jeff Burnz commentedGreat, you beat me to it, was thinking we should do this also, will review soon (on holiday right now).
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedCommitted!
Awesome man, I actually simplified it to allow the
<div class="*-settings-wrapper">
wrappers for everything, may as well be consistant and this was just an oversight on my part that it wasn't already, good work dude!