Ensure poi name is set (#427)
This commit is contained in:
parent
1f66a8ea55
commit
ddfa439998
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue