benjaoming / django-relatedadminwidget

AS OF DJANGO 1.9 THIS PROJECT IS UNNECESSARY! Widget for displaying edit and delete links alongside foreign key admin widgets
40 stars 9 forks source link

Had to add 'onclick='return showAddAnotherPopup(this);' to the links in the template #5

Open wardk opened 9 years ago

wardk commented 9 years ago

Wouldn't open a new window when adding/editing, and didn't return to original model after saving, most inconvenient. Picked up the solution from http://stackoverflow.com/questions/8850273/django-edit-model-form-in-popup-in-admin.

benjaoming commented 9 years ago

PR? :)

wardk commented 9 years ago

Sry, I'm not familiar with github, just wanted to document this little thing.

benjaoming commented 9 years ago

Well you don't have to close the issue, just curious if you wanted to fix the error you found yourself ;)

uffe commented 9 years ago

Any chance this change can be added?

benjaoming commented 9 years ago

I almost never say no to a PR ;)

On 17 February 2015 at 11:36, Uffe Wedsgaard Koch notifications@github.com wrote:

Any chance this change can be added?

— Reply to this email directly or view it on GitHub https://github.com/benjaoming/django-relatedadminwidget/issues/5#issuecomment-74736468 .