1
0
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:
Nick O'Leary 2015-03-20 23:11:24 +00:00
parent 26db1048f9
commit 18a3d71024

View File

@ -179,6 +179,13 @@ RED.palette = (function() {
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);
}
}