djangosnippets.org: Latest snippets tagged with 'collapsed'https://djangosnippets.org/tags/collapsed/2010-09-17T05:25:12.226136-05:00Initially open collapsable fieldset class in admin
2010-09-17T05:25:12.226136-05:00ralfzenhttps://djangosnippets.org/snippets/2200/<p>It's just an extension for the admin. Replace the collapse.js (collapse.min.js) and use it like this in the admin fieldset option: ´´<strong>'classes': ['collapse', 'open']</strong>´´.
Without the 'open'-class, it will work as usual.
<em>Needs possibly fixing for IE <= 8</em> because IE doesn't support the ´´:not´´ selector.
</p>
Freely redistributable