Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#8689u4y60 fix boundary saved after cleared #347

Merged
merged 8 commits into from
Sep 30, 2024
2 changes: 1 addition & 1 deletion helpers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def create_or_update_boundary(

raw_boundary_payload = post_data.get('boundary-payload')

if raw_boundary_payload in ['', None]:
if raw_boundary_payload in ['', '{}', None]:
return

data = json.loads(raw_boundary_payload)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,8 @@
clearShapeFileInput(selectionUnit)
selectInitialShareBoundaryPublicly()
disableContinueButton()
BoundaryPayLoad = {}
setBoundaryPayloadForInputElement()
}
</script>
<script src="{% static 'javascript/shpjs.js' %}"></script>
Loading