diff --git a/django/contrib/admin/media/js/inlines.js b/django/contrib/admin/media/js/inlines.js
index 0153a41..4fe52d0 100644
a
|
b
|
|
97 | 97 | // last child element of the form's container: |
98 | 98 | row.children(":first").append('<span><a class="' + options.deleteCssClass + '" href="javascript:void(0)">' + options.deleteText + "</a></span>"); |
99 | 99 | } |
100 | | row.find("input,select,textarea,label,a").each(function() { |
| 100 | row.find("*").each(function() { |
101 | 101 | updateElementIndex(this, options.prefix, totalForms.val()); |
102 | 102 | }); |
103 | 103 | // Insert the new form when it has been fully edited |
… |
… |
|
128 | 128 | // so they remain in sequence: |
129 | 129 | for (var i=0, formCount=forms.length; i<formCount; i++) |
130 | 130 | { |
131 | | $(forms.get(i)).find("input,select,textarea,label,a").each(function() { |
| 131 | $(forms.get(i)).find("*").each(function() { |
132 | 132 | updateElementIndex(this, options.prefix, i); |
133 | 133 | }); |
134 | 134 | } |