1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Ensure complete node scope property is remapped on import

This commit is contained in:
Nick O'Leary 2019-09-24 21:04:33 +01:00
parent d047b75cb7
commit 6fc9c03d70
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -311,7 +311,7 @@ RED.nodes = (function() {
nodeTabMap[z][node.id] = node; nodeTabMap[z][node.id] = node;
node.z = z; node.z = z;
} }
function removeLink(l) { function removeLink(l) {
var index = links.indexOf(l); var index = links.indexOf(l);
if (index != -1) { if (index != -1) {
@ -1194,6 +1194,7 @@ RED.nodes = (function() {
var nodeTypeArrayReferences = { var nodeTypeArrayReferences = {
"catch":"scope", "catch":"scope",
"status":"scope", "status":"scope",
"complete": "scope",
"link in":"links", "link in":"links",
"link out":"links" "link out":"links"
} }
@ -1479,7 +1480,7 @@ RED.nodes = (function() {
clear: clear, clear: clear,
moveNodeToTab: moveNodeToTab, moveNodeToTab: moveNodeToTab,
addLink: addLink, addLink: addLink,
removeLink: removeLink, removeLink: removeLink,