Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#975 closed defect (fixed)

ManyToMany field in raw_id_admin mode - broken (javascript)

Reported by: moraha Owned by: Adrian Holovaty
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: no UI/UX: no

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 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

(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