diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js index 24437605e..fb14e3171 100644 --- a/loleaflet/src/control/Control.JSDialogBuilder.js +++ b/loleaflet/src/control/Control.JSDialogBuilder.js @@ -1580,6 +1580,9 @@ L.Control.JSDialogBuilder = L.Control.extend({ }, _treelistboxEntry: function (parentContainer, treeViewData, entry, builder) { + if (entry.text == '') + return; + var li = L.DomUtil.create('li', builder.options.cssClass, parentContainer); li.draggable = true;