mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
clean up status on close for several core nodes.
This commit is contained in:
@@ -91,6 +91,9 @@ module.exports = function(RED) {
|
||||
}
|
||||
}
|
||||
});
|
||||
this.on('close', function() {
|
||||
node.status({});
|
||||
});
|
||||
}
|
||||
RED.nodes.registerType("file",FileNode);
|
||||
|
||||
@@ -127,6 +130,9 @@ module.exports = function(RED) {
|
||||
});
|
||||
}
|
||||
});
|
||||
this.on('close', function() {
|
||||
node.status({});
|
||||
});
|
||||
}
|
||||
RED.nodes.registerType("file in",FileInNode);
|
||||
}
|
||||
|
Reference in New Issue
Block a user