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

Validate nodes on import after any references have been remapped

This commit is contained in:
Nick O'Leary 2016-07-20 11:30:49 +01:00
parent 15b6f6268b
commit ad8290ebcb

View File

@ -912,6 +912,10 @@ RED.nodes = (function() {
return (otherNode && otherNode.z === activeWorkspace)
});
}
// With all properties now remapped to point at valid nodes,
// we can validate the node
RED.editor.validateNode(n);
}
for (i=0;i<new_subflows.length;i++) {
n = new_subflows[i];