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:
commit
e606d0b1de
@ -370,13 +370,6 @@
|
|||||||
var id = $("#inject-time-type-select").val();
|
var id = $("#inject-time-type-select").val();
|
||||||
$(".inject-time-row").hide();
|
$(".inject-time-row").hide();
|
||||||
$("#inject-time-row-"+id).show();
|
$("#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
|
// Scroll down
|
||||||
var scrollDiv = $("#dialog-form").parent();
|
var scrollDiv = $("#dialog-form").parent();
|
||||||
|
Loading…
Reference in New Issue
Block a user