mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Double-click on subflow palette node to open flow
This commit is contained in:
parent
26db1048f9
commit
18a3d71024
@ -179,6 +179,13 @@ RED.palette = (function() {
|
|||||||
start: function() {RED.view.focus();}
|
start: function() {RED.view.focus();}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (def.category == "subflows") {
|
||||||
|
$(d).dblclick(function(e) {
|
||||||
|
RED.workspaces.show(nt.substring(8));
|
||||||
|
e.preventDefault();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
setLabel(nt,$(d),label);
|
setLabel(nt,$(d),label);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user