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

Ensure i18n message for Unknown nodes are available

This commit is contained in:
Nick O'Leary 2015-05-26 14:34:15 +01:00
parent 4a318553f7
commit 9d17137dec

View File

@ -720,11 +720,13 @@ RED.nodes = (function() {
defaults: {},
label: "unknown: "+n.type,
labelStyle: "node_label_italic",
outputs: n.outputs||n.wires.length
outputs: n.outputs||n.wires.length,
set: registry.getNodeSet("node-red/unknown")
}
} else {
node._def = {
category:"config"
category:"config",
set: registry.getNodeSet("node-red/unknown")
};
node.users = [];
}