fix: do not autoclose panel blindly after map save

fix #1139
cf #1831
This commit is contained in:
Yohan Boniface 2024-05-17 15:18:35 +02:00
parent 3a19b921a7
commit 26c9f913e3

View file

@ -1063,7 +1063,6 @@ U.Map = L.Map.extend({
else window.location = data.url else window.location = data.url
alert.content = data.info || alert.content alert.content = data.info || alert.content
this.once('saved', () => this.ui.alert(alert)) this.once('saved', () => this.ui.alert(alert))
this.editPanel.close()
this.permissions.save() this.permissions.save()
} }
}, },