Opened 12 years ago

Closed 11 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


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 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by Erik Stein

Attachment: 6202.diff added


comment:1 Changed 12 years ago by Erik Stein

Has patch: set
Needs tests: set

Checked "Has patch".

comment:2 Changed 12 years ago by Brian Rosner

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 Changed 11 years ago by Brian Rosner

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