assem-ch / django-jet-reboot

Legacy Django jet rebooted to support Django > 3 (4 and 5), and latest python releases
https://django-jet-reboot.readthedocs.io/
GNU Affero General Public License v3.0
399 stars 65 forks source link

Popup is opening in new window in list view #90

Closed dresl closed 1 year ago

dresl commented 1 year ago

When setting eg. a Foreign Key to list_editable, popup does not work as usual. It's opened in a new frame and is not able to save/close.

image

Steps to Reproduce:

  1. Add foreign key to list_editable
  2. Try to add a new item

Note: Popup in edit detail page works normally.

dresl commented 1 year ago

Fixed by editing bundle.min.js:

n("#result_list tr td").each(function() {
    t.initLinksForRow(n(this))
})

to initLinks function.