Open mkoistinen opened 9 years ago
For the record this issue occurs even without using aldryn_common.admin_fields.sortedm2m.SortedM2MModelField
.
If the field is changed to a normal, models.ManyToManyField
, it works perfectly (albeit without support for sorting, obviously).
I have now proven this to be purely a sortedm2m issue and have opened this ticket at that project's repo: https://github.com/gregmuellegger/django-sortedm2m/issues/57.
NOTE: once this is resolved, please remove the notice in docs/user/index.rst
The issue in sortedm2m is resolved right
When there are no, existing groups, attempting to create a group with the :heavy_plus_sign: in the Person change form doesn't work. Well, technically, it works (the group is created), but the pop-up window turns blank and doesn't refresh the Person change form.
On investigation, there is a JS error in the popup as shown here:
It is not clear why, but there seems to be an interaction between sortedm2m's and Django's own JS that only happens when there are no existing objects in the m2m widget.