﻿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
26387	Related popup doesn’t open in a changelist when list_editable in raw_id_fields	Bertrand Bordage	Tim Graham	"Suppose you have this admin class, where 'fk' is a ForeignKey field name:
{{{#!python
@register(YourModel)
class YourModelAdmin(ModelAdmin):
    list_display = ['pk', 'fk']
    list_editable = ['fk']
    raw_id_fields = ['fk']
}}}
When you open the changelist, everything is displayed normally, fk consists in a field and a magnifying glass. But no javascript 'click' event is bound to the glass, so the changelist of the related model opens directly in the main window, not in popup.

Of course, it prevents the users from filling the field, the only solutions being: to type the ID, or to open the change view, which may be disabled if you want users to only use the changelist…

Bug experienced on all Django 1.9 versions, and probably master."	Bug	closed	contrib.admin	1.8	Release blocker	fixed			Accepted	1	0	0	0	0	0
