1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Update debug sidebar to use RED.view.reveal to show debug nodes

This commit is contained in:
Nick O'Leary 2016-09-29 23:49:58 +01:00
parent 7ff9c2885d
commit 7ed9e7cdd4

View File

@ -168,7 +168,7 @@
msg.onclick = function() { msg.onclick = function() {
var node = RED.nodes.node(o.id) || RED.nodes.node(o.z); var node = RED.nodes.node(o.id) || RED.nodes.node(o.z);
if (node) { if (node) {
RED.workspaces.show(node.z); RED.view.reveal(node.id);
} }
}; };