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 19065 The FilteredManyToMany widget needs javascript in 'stacked.html' and 'tabular.html' when using inline content replytosander@… nobody "I'm developing a custom sortable manytomany widget which allows the user to order the items in the widget. You can find it here: https://github.com/fabrique/django-sortedm2m When using inline models the widget needs the javascript in stacked.html and/or tabular.html. It initializes a new instance when adding an inline item. To keep the sortedm2m library as pluggable as possible I would like to know how I can provide this javascript in the library. This way a developer doesn't need to override the admin templates. This doesn't seem possible at the moment. Maybe there should be a way to provide document ready javascript in the scope of the widget. Any ideas on this? " Cleanup/optimization closed contrib.admin 1.4 Normal needsinfo Unreviewed 0 0 0 0 0 0