#30049: GIS widgets don't initialize properly after clicking "Add another" in admin inlines ------------------------------+------------------------------------ Reporter: Lars Solberg | Owner: nobody Type: Bug | Status: new Component: GIS | Version: 2.1 Severity: Normal | Resolution: Keywords: gis, admin | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ------------------------------+------------------------------------ Changes (by Tim Graham):
* stage: Unreviewed => Accepted Comment: Using the attached sample project, I can reproduce the problem that clicking "Add another City" on the admin's state change form doesn't initialize the new widget properly (textarea instead of the openlayers widget). It doesn't seem to be a new issue -- I reproduced back as far as I tested (Django 1.11). I'm not sure if the "missing elements in the upper right corner" part of this report is valid... when using `PointField` in a non-inline admin, those elements don't appear either. Are they not applicable to `PointField`? In any case, a bug report should be limited to one issue so let's keep this ticket limited to the "Add another" initialization and open addition tickets if more issues remain. -- Ticket URL: <https://code.djangoproject.com/ticket/30049#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/062.4d8e66f8c15fe7684079289b60476a5a%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.