Code

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#679 closed defect (fixed)

"Collapse" class not processed correctly in admin interface

Reported by: malcolm@… Owned by: adrian
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:

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

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by malcolm@…

Fix for the described problem

comment:1 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.