mirror of https://github.com/node-red/node-red.git
select the deep link item
This commit is contained in:
parent
4667e76c6b
commit
12ac260dce
|
@ -263,6 +263,7 @@ var RED = (function() {
|
|||
setTimeout(() => {
|
||||
RED.view.reveal(nodeToShow.id)
|
||||
window.location.hash = currentHash
|
||||
RED.view.select(nodeToShow.id)
|
||||
if (showEditDialog) {
|
||||
RED.editor.edit(nodeToShow)
|
||||
}
|
||||
|
@ -273,6 +274,7 @@ var RED = (function() {
|
|||
if (nodeToShow) {
|
||||
RED.view.reveal(nodeToShow.id)
|
||||
window.location.hash = currentHash
|
||||
RED.view.select({ nodes: [nodeToShow] })
|
||||
if (showEditDialog) {
|
||||
RED.editor.editGroup(nodeToShow)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue