sehmaschine/django-grappelli — pull request #319 by exonian (2013-04-28 03:33:15+00:00)
Title: Add support for generic lookups with radio field

Use of $(elem).val() for lookup_link generation doesn't work if
the content_type field is also in radio_fields. This change
checks $(elem).find(':checked').val() if $(elem).val() is false