Handle importing only one end of a link node pair

This commit is contained in:
Nick O'Leary
2017-07-04 23:40:37 +01:00
parent a10439b67c
commit 266274135e
2 changed files with 3 additions and 3 deletions

View File

@@ -482,7 +482,7 @@ RED.view = (function() {
try {
nn._def.onadd.call(nn);
} catch(err) {
console.log("onadd:",err);
console.log("Definition error: "+nn.type+".onadd:",err);
}
}
} else {
@@ -2581,7 +2581,7 @@ RED.view = (function() {
try {
node.n._def.onadd.call(node.n);
} catch(err) {
console.log("onadd:",err);
console.log("Definition error: "+node.n.type+".onadd:",err);
}
}