Opened 3 years ago

Closed 3 years ago

#19990 closed Bug (needsinfo)

showAddAnotherPopup _popup need a fix

Reported by: riccardodivirgilio 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 3 years ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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

comment:2 Changed 3 years ago by aaugustin

  • Resolution set to needsinfo
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
Back to Top