#15569: wrong index assigned when creating a new inline
----------------------------------+---------------------------
 Reporter:  sbaechler             |         Owner:  nobody
   Status:  new                   |     Milestone:  1.3
Component:  django.contrib.admin  |       Version:  1.2
 Keywords:                        |  Triage Stage:  Unreviewed
Has patch:  0                     |
----------------------------------+---------------------------
 When I create a new inline in the admin interface and the inline contains
 a UL or span, the indexes of the nested elements are not consistent.
 I.E.: <ul id="id_mediafilecontent_set-2-position"><li><input
 id="id_mediafilecontent_set-1-position_0">...

 This is causing troubles when adding special functions to inlines in the
 admin interface.

 The code that is causing the problem is in
 contrib/admin/media/js/inlines.js line 55 and 100.

 When I add UL to the function in line 100, then the code works for UL.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15569>
Django <http://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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to