mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
let default apply if msg.delay not set in override mode. (#1397)
* let default apply if msg.delay not set in override mode. * Update tests to match * allow msg.delay to be 0 if wanted and test for that
This commit is contained in:
committed by
Nick O'Leary
parent
53bfe12ac1
commit
ae7c298b1a
@@ -102,7 +102,7 @@
|
||||
<dt class="optional">delay <span class="property-type">number</span></dt>
|
||||
<dd>Sets the delay, in milliseconds, to be applied to the message. This
|
||||
option only applies if the node is configured to allow the message to
|
||||
provide the delay interval.</dd>
|
||||
override the configured default delay interval.</dd>
|
||||
<dt class="optional">reset</dt>
|
||||
<dd>If the received message has this property set to any value, all
|
||||
outstanding messages held by the node are cleared without being sent.</dd>
|
||||
@@ -260,7 +260,7 @@
|
||||
$("#delay-details-for").show();
|
||||
$("#random-details").hide();
|
||||
} else if (this.value === "delayv") {
|
||||
$("#delay-details-for").hide();
|
||||
$("#delay-details-for").show();
|
||||
$("#random-details").hide();
|
||||
} else if (this.value === "random") {
|
||||
$("#delay-details-for").hide();
|
||||
|
Reference in New Issue
Block a user