From de2862bf2ab1178b6da9d3d0ffcf9f49e25aa515 Mon Sep 17 00:00:00 2001 From: Zandre Engelbrecht Date: Mon, 1 Jul 2024 16:46:11 +0200 Subject: [PATCH] show page refresh message after saving new polygon --- corehq/apps/geospatial/static/geospatial/js/models.js | 1 + 1 file changed, 1 insertion(+) diff --git a/corehq/apps/geospatial/static/geospatial/js/models.js b/corehq/apps/geospatial/static/geospatial/js/models.js index ee2b62e234fc..7c2d4abc22e1 100644 --- a/corehq/apps/geospatial/static/geospatial/js/models.js +++ b/corehq/apps/geospatial/static/geospatial/js/models.js @@ -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');