#29488: FilteredSelectMultiple Controls Don't Work if The Name of the Widget 
Has a
Space
-------------------------------------+-------------------------------------
     Reporter:  Mark Phillips        |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  contrib.admin        |                  Version:  2.0
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
  FilteredSelectMultiple widget      |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mark Phillips):

 Tim,

 I am not a Javascript guy, but I did manage to get this far - perhaps it
 will help.

 In SelectFilter2.js, I tracked what was going on to the line where it is
 going to toggle the add link on (see picture A). When I step through the
 code using the widget named Pets and selecting an element, I get to
 picture B in the bowels of the jQuery code. You will note that "match = 3"
 for this control. When I step through the same code, but select an element
 in Pet Names, I get to the same place, but now match = null (picture C).
 From here, the program goes in different directions, and not being a js
 guy, I am a little lost.

 I hope this helps!

 Mark

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29488#comment:6>
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.0d7295246747f17a9e4febac939c0ffd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to