Fixed #44 - raw_id_fields issue with django 2.1
parent
7137cbab08
commit
ce32a56cdf
|
|
@ -86,7 +86,7 @@ if (typeof(django) !== 'undefined' && typeof(django.jQuery) !== 'undefined')
|
||||||
{
|
{
|
||||||
// set current window as iframe opener because
|
// set current window as iframe opener because
|
||||||
// the callback is called on the opener window
|
// the callback is called on the opener window
|
||||||
iframeEl.load(function(){
|
iframeEl.on('load', function() {
|
||||||
var iframeObj = $(this).get(0);
|
var iframeObj = $(this).get(0);
|
||||||
var iframeWindow = iframeObj.contentWindow;
|
var iframeWindow = iframeObj.contentWindow;
|
||||||
iframeWindow.opener = window;
|
iframeWindow.opener = window;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue