Opened 17 years ago

Closed 17 years ago

#6202 closed (fixed)

FilteredSelectMultiple widget does not have showAddAnotherPopup [newforms-admin]

Reported by: Erik Stein Owned by: nobody
Component: contrib.admin Version: newforms-admin
Severity: Keywords: nfa-blocker
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The FilteredSelectMultiple widget for m2m-relations does not allow to add another related object using a javascript popup window (as it does in old-admin).

Patch: Pass the represented related model on widget initialization. When rendering use this information to add the showAddAnotherPopup code.

Attachments (1)

6202.diff (2.5 KB ) - added by Erik Stein 17 years ago.
Patch

Download all attachments as: .zip

Change History (4)

by Erik Stein, 17 years ago

Attachment: 6202.diff added

Patch

comment:1 by Erik Stein, 17 years ago

Has patch: set
Needs tests: set

Checked "Has patch".

comment:2 by Brian Rosner, 17 years ago

Keywords: nfa-blocker added
Triage Stage: UnreviewedReady for checkin

Looks good to me. Tagging with nfa-blocker since this patch will bring some functionality back up to par with old-admin.

comment:3 by Brian Rosner, 17 years ago

Resolution: fixed
Status: newclosed

(In [7195]) newforms-admin: Fixed #6202 -- FilteredSelectMultiple is now wrapped with RelatedFieldWidgetWrapper to display the add button.

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