mirror of https://github.com/node-red/node-red.git
configurable watch node
parent
9bd8ec9f62
commit
bc0268481b
|
|
@ -67,7 +67,7 @@
|
|||
// function added to set node input number
|
||||
oneditsave: function() {
|
||||
// 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;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue