﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27942	"admin's inlines.js indiscriminately adds ""add"" buttons to all tables in inlines"	James Pulec	Adonys Alea Boffill	"It seems that there are issues using tabular inlines, if you're using a custom field that is rendered with a table. 

For example, if you have some custom field like [https://github.com/django-recurrence/django-recurrence] uses and try to use it in a tabular inline, the result will be that there is an extra add button appended inside the custom field widget.

This seems to be caused by https://github.com/django/django/blob/master/django/contrib/admin/static/admin/js/inlines.js#L23 since it tries to fetch the parent by using the selector defined on by `this`, which simply selects ANY child table rows of the current inline form. It's this selector that is then later used to determine where to append the add buttons, and if `$parent` selector has multiple results, add buttons get appended to all of them."	Bug	closed	contrib.admin	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	1
