Opened 19 years ago

Closed 19 years ago

Last modified 18 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: no UI/UX: no

Description

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@… 19 years ago.
Fix for the described problem

Download all attachments as: .zip

Change History (2)

by malcolm@…, 19 years ago

Attachment: collapse-fix.diff added

Fix for the described problem

comment:1 by Adrian Holovaty, 19 years ago

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