Compare commits

..

No commits in common. "528f2145a45f10f7f275244c7354252258420f87" and "56f58284f93446218946966a60fdb5f51d9e5cc4" have entirely different histories.

View File

@ -311,9 +311,6 @@ class SimpleGeomForm(BaseForm):
# Get geojson from form
geom = self.data["geom"]
if geom is None or len(geom) == 0:
# empty geometry is a valid geometry
return is_valid
geom = json.loads(geom)
# Write submitted data back into form field to make sure invalid geometry