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;
|
var self = this;
|
||||||
bootbox.prompt({
|
bootbox.prompt({
|
||||||
title: i18next.t('map.enter-poi-name'),
|
title: i18next.t('map.enter-poi-name'),
|
||||||
|
required: true,
|
||||||
callback: function (result) {
|
callback: function (result) {
|
||||||
if (result !== null) {
|
if (result !== null) {
|
||||||
self.addMarker(e.latlng, result);
|
self.addMarker(e.latlng, result);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue