Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#975 closed defect (fixed)

ManyToMany field in raw_id_admin mode - broken (javascript)

Reported by: moraha Owned by: adrian
Component: contrib.admin Version:
Severity: critical Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

  1. function dismissRelatedLookupPopup(win, chosenId)

expects elem.className.indexOf('vCommaSeparatedIntegerField')

but element no has 'vRawIdAdminField' class

so, it's impossible to choose 'coma separated values' - only 1 id like foreign key

  1. The values of ManyToMany fields are looks like ['1','2','3'] 8-/ i don't have an idea from where this defect, coz contrib/admin are very rewrited

Change History (1)

comment:1 Changed 10 years ago by adrian

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

(In [1580]) Fixed #975 -- JavaScript shortcut in raw_id_admin for ManyToManyFields no longer replaces existing values.

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