mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ensure linkType is a valid value
This commit is contained in:
parent
249f7e45fb
commit
b665698e78
@ -305,6 +305,9 @@
|
|||||||
$("#node-input-linkType").on("change",function(d){
|
$("#node-input-linkType").on("change",function(d){
|
||||||
updateVisibility();
|
updateVisibility();
|
||||||
});
|
});
|
||||||
|
if (["static","dynamic"].indexOf(this.linkType) < 0) {
|
||||||
|
$("#node-input-mode").val('static');
|
||||||
|
}
|
||||||
updateVisibility();
|
updateVisibility();
|
||||||
onEditPrepare(this,"link in");
|
onEditPrepare(this,"link in");
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user