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:
parent
d047b75cb7
commit
6fc9c03d70
@ -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,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user