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

Fix trigger to block properly until reset

Fix to Close #764
This commit is contained in:
Dave Conway-Jones 2015-12-09 16:42:16 +00:00
parent 606305aec4
commit d4ce193dc8

View File

@ -57,7 +57,7 @@ module.exports = function(RED) {
node.status({}); node.status({});
} }
else { else {
if (!tout) { if ((!tout) && (tout !== 0)) {
if (node.op2type === "pay") { m2 = msg.payload; } if (node.op2type === "pay") { m2 = msg.payload; }
else if (node.op2Templated) { m2 = mustache.render(node.op2,msg); } else if (node.op2Templated) { m2 = mustache.render(node.op2,msg); }
else { m2 = node.op2; } else { m2 = node.op2; }