jsdialogs: add id to the spinfield container

Change-Id: I5d86dec1bb2c86e23dbe97c82107143c22a03eff
This commit is contained in:
Szymon Kłos 2019-10-16 10:09:19 +02:00
parent 72af6303b2
commit c51120b994

View file

@ -357,6 +357,7 @@ L.Control.JSDialogBuilder = L.Control.extend({
_spinfieldControl: function(parentContainer, data, builder) {
var div = L.DomUtil.create('div', 'spinfieldcontainer', parentContainer);
div.id = data.id;
var image = L.DomUtil.create('img', 'spinfieldimage', div);
var icon = builder._createIconPath(data.id);