City-of-Helsinki / wagtail-svgmap

ImageMap functionality for Wagtail through inline SVGs
BSD 3-Clause "New" or "Revised" License
13 stars 8 forks source link

Regions are not updated when new SVG file is uploaded #5

Closed juyrjola closed 8 years ago

juyrjola commented 8 years ago

Steps to reproduce:

  1. Add an image map. Save.
  2. Change the SVG file ids.
  3. Replace the file in the image map. Save.
  4. Regions are not updated.

Expected behavior:

Regions are updated automatically based on the ids of the new SVG file.

akx commented 8 years ago

Ah, I didn't think about replacing the SVG file in a pre-existing instance. Will fix.

akx commented 8 years ago

This is resolved in #6.