editor: extra separator in context menu in some cases

This commit is contained in:
bordun 2021-05-10 20:23:01 +02:00
parent aac8952ecc
commit 9ae6329690

View file

@ -285,9 +285,11 @@ var handleClick = function(event) {
}
if (actions.length) actions.push({
separator: true
})
if (data.length == 1 && widget.childrenType !== undefined) {
if (actions.length) actions.push({
separator: true
})
}
if (data.length == 1 && widget.childrenType !== 'tab') {
actions.push({