mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
too enthusiastic clearing up property
reverted
This commit is contained in:
parent
9fd929ac1e
commit
5fda57c730
@ -74,7 +74,6 @@ module.exports = function(RED) {
|
||||
this.on("input", function(msg, send, done) {
|
||||
var value = RED.util.getMessageProperty(msg,node.property);
|
||||
if (value !== undefined) {
|
||||
RED.util.setMessageProperty(msg,node.property,undefined);
|
||||
if (msg.hasOwnProperty("parts")) { msg.parts = { parts:msg.parts }; } // push existing parts to a stack
|
||||
else { msg.parts = {}; }
|
||||
msg.parts.id = RED.util.generateId(); // generate a random id
|
||||
|
Loading…
x
Reference in New Issue
Block a user