Opened 5 years ago

Closed 5 years ago

#19990 closed Bug (needsinfo)

showAddAnotherPopup _popup need a fix

Reported by: Riccardo Di Virgilio Owned by: nobody
Component: contrib.admin Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


hi inside django.contrib.admin.static.js.admin.RelatedObjectLookups.js

this funcion got POPUP_VAR as _popup, it needs to be fixed to pop

function showAddAnotherPopup(triggeringLink) {

var name =, );
name = id_to_windowname(name);
href = triggeringLink.href
if (href.indexOf('?') == -1) {

href += '?_popup=1';

} else {

href += '&_popup=1';

var win =, name, 'height=500,width=800,resizable=yes,scrollbars=yes');
return false;


Change History (2)

comment:1 Changed 5 years ago by Jacob

I'm sorry, but I'm having trouble understanding what's being reported here. Can you clarify, please?

comment:2 Changed 5 years ago by Aymeric Augustin

Resolution: needsinfo
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top