#30459: If a StackedInline has fieldsets with the "collapsed" class, the "Show"
link doesn't work on inline forms added with the "Add another [inline
object]" link
--------------------------------------+------------------------------------
     Reporter:  Antonis Christofides  |                    Owner:  nobody
         Type:  Bug                   |                   Status:  new
    Component:  contrib.admin         |                  Version:  2.2
     Severity:  Release blocker       |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  1
--------------------------------------+------------------------------------

Comment (by Carlton Gibson):

 Hey Claude.

 I've tested on both 2.1 and 2.2. It works on 2.1, but not 2.2.

 I (manually) bisected to the referenced commit, using this history view:

 
https://github.com/django/django/commits/master/django/contrib/admin/static/admin/js

 It works at a5f139236f930df06ae0642507530ca98081e2a9#diff-
 6f61a4571a97f023bafaedabcadd5f54 but fails at the next commit
 ba83378a7762c51be235b521aa5b48233d6c6c82#diff-
 6f61a4571a97f023bafaedabcadd5f54 — so I pinned it to that. (It's the only
 change that looks relevant.)

 You are right about the `on()` call though... 🤔

 I was going to write a `js_tests` case to reproduce this. I'll then be
 able to actually `git bisect`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30459#comment:4>
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/064.c93da781df1fa227ca60ad4184d7a0ef%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to