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 (2nd attempt)
This commit is contained in:
parent
27761ba6f2
commit
e85b925f40
@ -306,7 +306,7 @@
|
|||||||
updateVisibility();
|
updateVisibility();
|
||||||
});
|
});
|
||||||
if (["static","dynamic"].indexOf(this.linkType) < 0) {
|
if (["static","dynamic"].indexOf(this.linkType) < 0) {
|
||||||
$("#node-input-mode").val('static');
|
$("#node-input-linkType").val('static');
|
||||||
}
|
}
|
||||||
updateVisibility();
|
updateVisibility();
|
||||||
onEditPrepare(this,"link in");
|
onEditPrepare(this,"link in");
|
||||||
|
Loading…
Reference in New Issue
Block a user