diff --git a/packages/node_modules/@node-red/nodes/core/function/89-trigger.html b/packages/node_modules/@node-red/nodes/core/function/89-trigger.html index 572856c92..8d6083442 100644 --- a/packages/node_modules/@node-red/nodes/core/function/89-trigger.html +++ b/packages/node_modules/@node-red/nodes/core/function/89-trigger.html @@ -25,7 +25,7 @@
@@ -181,6 +181,13 @@ $("#node-input-op2type").val('str'); } + $("#node-input-op1").on("change", function() { + if ($("#node-input-op1type").val() === "nul") { + $("#node-trigger-wait-loop").hide(); + } + else { $("#node-trigger-wait-loop").show(); } + }); + var optionNothing = {value:"nul",label:this._("trigger.output.nothing"),hasValue:false}; var optionPayload = {value:"pay",label:this._("trigger.output.existing"),hasValue:false}; var optionOriginalPayload = {value:"pay",label:this._("trigger.output.original"),hasValue:false};