mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Focus Quick Add dialog from context menu
This commit is contained in:
parent
f0a9b0cf69
commit
6c64ba45c2
@ -55,7 +55,7 @@ RED.contextMenu = (function () {
|
|||||||
onselect: function () {
|
onselect: function () {
|
||||||
RED.view.showQuickAddDialog({
|
RED.view.showQuickAddDialog({
|
||||||
position: [addX, addY],
|
position: [addX, addY],
|
||||||
touchTrigger: true,
|
touchTrigger: 'ontouchstart' in window,
|
||||||
splice: isSingleLink ? selection.links[0] : undefined,
|
splice: isSingleLink ? selection.links[0] : undefined,
|
||||||
// spliceMultiple: isMultipleLinks
|
// spliceMultiple: isMultipleLinks
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user