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:
parent
15b6f6268b
commit
ad8290ebcb
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user