#30025: dismiseAddRelatedObjectPopup() not executing change event for select
element
-----------------------------------+--------------------------------------
     Reporter:  Alexander Todorov  |                    Owner:  nobody
         Type:  Bug                |                   Status:  new
    Component:  contrib.admin      |                  Version:  2.1
     Severity:  Normal             |               Resolution:
     Keywords:                     |             Triage Stage:  Unreviewed
    Has patch:  0                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+--------------------------------------

Comment (by Carlton Gibson):

 Hi Alexander.

 This all seems to work as expected in the minimal case:
 https://jsfiddle.net/fnv5Lcom/3/

 Adding the `Option` **doesn't** fire the `change` handler, as expected, so
 we call `trigger()` to do so.

 Are you able to examine what's going on in the debugger, to ensure you're
 on the right branch, and that `elem` points to the element you're
 expecting and so on?

 If you could upload a minimal project (starting from `startproject`) that
 showed the problem that would help.

 Thanks!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30025#comment:1>
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/066.d0d31c5d118ba748a4f6d96bce819fd9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to