mirror of https://github.com/node-red/node-red.git
focus search input when opened via context menu
parent
1b53b5b927
commit
273404e24d
|
@ -67,6 +67,10 @@ RED.contextMenu = (function () {
|
|||
splice: isSingleLink ? selection.links[0] : undefined,
|
||||
// spliceMultiple: isMultipleLinks
|
||||
})
|
||||
},
|
||||
onpostselect: function() {
|
||||
// ensure quick add dialog search input has focus
|
||||
$('#red-ui-type-search-input').trigger('focus')
|
||||
}
|
||||
},
|
||||
(hasLinks) ? { // has least 1 wire selected
|
||||
|
|
Loading…
Reference in New Issue