Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#679 closed defect (fixed)

"Collapse" class not processed correctly in admin interface

Reported by: malcolm@… Owned by: Adrian Holovaty
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


When specifying a number of fieldsets in the meta.Admin constructor (the fields parameter), an entry of "classes": "collapse" is only correctly handled (i.e. the Javascript support is only included) for the first tuple in the list.

The attached patch fixes this.

Attachments (1)

collapse-fix.diff (1.0 KB) - added by malcolm@… 13 years ago.
Fix for the described problem

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by malcolm@…

Attachment: collapse-fix.diff added

Fix for the described problem

comment:1 Changed 13 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [1008]) Fixed #679 -- 'collapse' admin row class is now processed correctly when more than one tuple is in the admin.fields list. Thanks, malcolm

Note: See TracTickets for help on using tickets.
Back to Top