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

let inject optionally fire at start in only at time mode.

This commit is contained in:
Dave Conway-Jones 2022-01-28 18:05:20 +00:00
parent 5c87a6cb76
commit 514da83961
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF

View File

@ -370,13 +370,6 @@
var id = $("#inject-time-type-select").val();
$(".inject-time-row").hide();
$("#inject-time-row-"+id).show();
if ((id == "none") || (id == "interval") || (id == "interval-time")) {
$("#node-once").show();
}
else {
$("#node-once").hide();
$("#node-input-once").prop('checked', false);
}
// Scroll down
var scrollDiv = $("#dialog-form").parent();