editor: extra separator in context menu in some cases
This commit is contained in:
parent
aac8952ecc
commit
9ae6329690
1 changed files with 5 additions and 3 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue