mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add small note re escaping test to inject node.
This commit is contained in:
parent
3a4756bd83
commit
98c9e40349
@ -159,12 +159,14 @@
|
|||||||
<p>The payload defaults to the current time in millisecs since 1970, but can
|
<p>The payload defaults to the current time in millisecs since 1970, but can
|
||||||
also be set to a String or left blank.</p>
|
also be set to a String or left blank.</p>
|
||||||
<p>The repeat function allows the payload to be sent on the required schedule.</p>
|
<p>The repeat function allows the payload to be sent on the required schedule.</p>
|
||||||
<p>The Fire once at start option actually waits a short interval before firing
|
<p>The <i>Fire once at start</i> option actually waits a short interval before firing
|
||||||
to give other nodes a chance to instantiate properly.</p>
|
to give other nodes a chance to instantiate properly.</p>
|
||||||
<p><b>Note: </b>"Interval between times" and "at a specific time" uses cron.
|
<p><b>Note: </b>"Interval between times" and "at a specific time" uses cron.
|
||||||
This means that 20 minutes will be at the next hour, 20 minutes past and
|
This means that 20 minutes will be at the next hour, 20 minutes past and
|
||||||
40 minutes past - not in 20 minutes time. If you want every 20 minutes
|
40 minutes past - not in 20 minutes time. If you want every 20 minutes
|
||||||
from now - use the "interval" option.</p>
|
from now - use the "interval" option.</p>
|
||||||
|
<p><b>Note: </b>all string input is escaped. To add a carriage return to a string
|
||||||
|
you should use a following function.</p>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@ -221,7 +223,7 @@
|
|||||||
$(this).append($("<option></option>").val(i).text(l));
|
$(this).append($("<option></option>").val(i).text(l));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#inject-time-interval-time-start").change(function() {
|
$("#inject-time-interval-time-start").change(function() {
|
||||||
var start = Number($("#inject-time-interval-time-start option:selected").val());
|
var start = Number($("#inject-time-interval-time-start option:selected").val());
|
||||||
var end = Number($("#inject-time-interval-time-end option:selected").val());
|
var end = Number($("#inject-time-interval-time-end option:selected").val());
|
||||||
|
Loading…
Reference in New Issue
Block a user