1
0
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:
dceejay 2015-05-26 20:04:12 +01:00
parent 3a4756bd83
commit 98c9e40349

View File

@ -159,12 +159,14 @@
<p>The payload defaults to the current time in millisecs since 1970, but can
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 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>
<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
40 minutes past - not in 20 minutes time. If you want every 20 minutes
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 type="text/javascript">
@ -221,7 +223,7 @@
$(this).append($("<option></option>").val(i).text(l));
}
});
$("#inject-time-interval-time-start").change(function() {
var start = Number($("#inject-time-interval-time-start option:selected").val());
var end = Number($("#inject-time-interval-time-end option:selected").val());