Ensure poi name is set (#427)

This commit is contained in:
Gautier P 2021-06-06 14:55:19 +02:00
parent 1f66a8ea55
commit ddfa439998

View file

@ -83,6 +83,7 @@ BR.PoiMarkers = L.Control.extend({
var self = this;
bootbox.prompt({
title: i18next.t('map.enter-poi-name'),
required: true,
callback: function (result) {
if (result !== null) {
self.addMarker(e.latlng, result);