#25903: "Add another" related field buttons in list_editable don't open a popup
----------------------------------+-------------------------------------
     Reporter:  Cuuuurzel         |                    Owner:  timgraham
         Type:  Bug               |                   Status:  assigned
    Component:  contrib.admin     |                  Version:  1.9
     Severity:  Release blocker   |               Resolution:
     Keywords:  modeladmin popup  |             Triage Stage:  Accepted
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+-------------------------------------

Comment (by rm_):

 Ah missed the previous email sorry. Don't have time atm to cook a patch
 but from a quick look it looks like that indeed moving
 django/contrib/admin/static/admin/js/related-widget-wrapper.js content
 from a separatated file to change_form.html broke popup handling outside
 of that template. So the change list template needs lines 90-108 from
 change_form.html and
 django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js
 included to work. We can move that 18 lines to a separate js if we don't
 want to duplicate them i suppose.

--
Ticket URL: <https://code.djangoproject.com/ticket/25903#comment:13>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.9e0fb87d45ad37a7f719750a30404a49%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to