Hi,
I am using django-grappelli 2.9.1 with Django 1.10.2 for the admin page.
In the earlier versions for django-grappelli and Django, if a m2m field is included in the 'filter_horizontal'
the FilteredSelectMultiple widget was used for m2m fields.
But in the latest version this seems to be missing and the reason is that one of the dependencies for SelectFilter2.js,
the addevent.js has been removed.
I made a workaround to make this work. I added the below lines in 'grappelli/templates/admin/base.html' after the
specification of jquery.js files.
<script type="text/javascript">
addEvent(window, "load", function(e) {
SelectFilter.init("", "", 0, "/static/admin/");
});
</script>
Could this be included in the django-grappelli package so that I don't have to maintain the patched version.
Or if there is a better way to do this please let me know.
Hope this issue will be seen by many of the users.
Thanks and regards,
Vijay.