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

Clear subflow status no close

This commit is contained in:
Nick O'Leary 2019-02-09 21:24:31 +00:00
parent bdc1da70c1
commit 75393c0b28
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -164,7 +164,8 @@ class Subflow extends Flow {
this.node = new Node(subflowInstanceConfig); this.node = new Node(subflowInstanceConfig);
this.node.on("input", function(msg) { this.send(msg);}); this.node.on("input", function(msg) { this.send(msg);});
this.node.on("close", function() { this.status({}); })
this.node._updateWires = this.node.updateWires; this.node._updateWires = this.node.updateWires;
this.node.updateWires = function(newWires) { this.node.updateWires = function(newWires) {