Skip to content

Commit

Permalink
show page refresh message after saving new polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
zandre-eng committed Jul 1, 2024
1 parent c849ccb commit de2862b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions corehq/apps/geospatial/static/geospatial/js/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,7 @@ hqDefine('geospatial/js/models', [
);
// redraw using mapControlsModelInstance
self.selectedSavedPolygonId(ret.id);
self.shouldRefreshPage(true);
},
error: function () {
alertUser.alert_user(gettext(unexpectedErrorMessage), 'danger');
Expand Down

0 comments on commit de2862b

Please sign in to comment.