From 26c9f913e331c8bfd5c7208ea968d593e2046577 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 17 May 2024 15:18:35 +0200 Subject: [PATCH] fix: do not autoclose panel blindly after map save fix #1139 cf #1831 --- umap/static/umap/js/umap.js | 1 - 1 file changed, 1 deletion(-) diff --git a/umap/static/umap/js/umap.js b/umap/static/umap/js/umap.js index 8bc9ac21..dcadcfe0 100644 --- a/umap/static/umap/js/umap.js +++ b/umap/static/umap/js/umap.js @@ -1063,7 +1063,6 @@ U.Map = L.Map.extend({ else window.location = data.url alert.content = data.info || alert.content this.once('saved', () => this.ui.alert(alert)) - this.editPanel.close() this.permissions.save() } },