django-geoposition icon indicating copy to clipboard operation
django-geoposition copied to clipboard

admin inlines "Add another" link does not work

Open mikek opened this issue 12 years ago • 4 comments

If the GeopositionFiled is used on a form in django admin inlines, the "Add another" link unhides a form with misplaced and inactive map. There should be some way to reinit the map in the geoposition.js which I am not aware of. django/contrib/admin/templates/admin/edit_inline templates and static/admin/js/inlines.js are involved. The dirty workaround is to hide the div#YOURMODEL_set-group.inline-group div.add-row by overriding some admin style file like geoposition.css.

mikek avatar Aug 29 '12 10:08 mikek

I also have the same problem, could you please explain more detail how did you fix it?

nmhung89 avatar Dec 02 '14 18:12 nmhung89

Same problem for me.

maximereinhart avatar Dec 11 '14 16:12 maximereinhart

Also ran into this issue

aboutaaron avatar Apr 29 '15 20:04 aboutaaron

Did anyone found solution for this?

FightWithCode avatar Dec 19 '21 07:12 FightWithCode