#28372: Admin inline JS should fire signal on add/remove to other JS can react.
------------------------------------------+------------------------
               Reporter:  Curtis Maloney  |          Owner:  nobody
                   Type:  New feature     |         Status:  new
              Component:  contrib.admin   |        Version:  1.11
               Severity:  Normal          |       Keywords:
           Triage Stage:  Unreviewed      |      Has patch:  0
    Needs documentation:  1               |    Needs tests:  1
Patch needs improvement:  0               |  Easy pickings:  1
                  UI/UX:  0               |
------------------------------------------+------------------------
 Whilst chasing a bug reported to django-array-tags, I realised I needed to
 init my tag widget every time a new row was added on an admin inline.

 On perusal of the code, there is a callback each for added and removed,
 but they're pre-set.

 It would be simpler and more extensible to have these functions emit an
 Event, and have widgets listen for these to do their own fixups.

 This would also allow 3rd party widgets to partake.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28372>
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/051.69584db2c1244d1586118cf9e4719eff%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to