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

Merge pull request #3385 from node-red/allow-inject-on-start

let inject optionally fire at start in only at time mode.
This commit is contained in:
Nick O'Leary 2022-04-05 23:34:20 +01:00 committed by GitHub
commit e606d0b1de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();