mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
configurable watch node
This commit is contained in:
parent
9bd8ec9f62
commit
bc0268481b
@ -67,7 +67,7 @@
|
|||||||
// function added to set node input number
|
// function added to set node input number
|
||||||
oneditsave: function() {
|
oneditsave: function() {
|
||||||
// if controlled by msg there has to be a input
|
// if controlled by msg there has to be a input
|
||||||
this.inputs = $("#node-input-filesType")[0].attributes.value.value == "msg"?1:0;
|
this.inputs = $("#node-input-filesType").typedInput("type") === "msg" ? 1 : 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user