Merge pull request #1833 from umap-project/do-not-close-panel-on-save

fix: do not autoclose panel blindly after map save
This commit is contained in:
Yohan Boniface 2024-05-17 15:31:22 +02:00 committed by GitHub
commit cdd20988ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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()
} }
}, },