From a13bcdf6f60a0e1e7f5da3931245845d5ab9d39a Mon Sep 17 00:00:00 2001 From: Zandre Engelbrecht Date: Wed, 30 Oct 2024 17:08:25 +0200 Subject: [PATCH] require refresh on saving polygon --- corehq/apps/geospatial/static/geospatial/js/models.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corehq/apps/geospatial/static/geospatial/js/models.js b/corehq/apps/geospatial/static/geospatial/js/models.js index fbbcabfd9370..46b15ac6d56b 100644 --- a/corehq/apps/geospatial/static/geospatial/js/models.js +++ b/corehq/apps/geospatial/static/geospatial/js/models.js @@ -809,7 +809,7 @@ hqDefine('geospatial/js/models', [ ); // redraw using mapControlsModelInstance self.selectedSavedPolygonId(ret.id); - self.shouldRefreshPage(self.requiresPageRefresh()); + self.shouldRefreshPage(true); }, error: function (response) { const responseText = response.responseText;