mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
parent
6ac905f264
commit
88e6c71aa0
@ -2198,6 +2198,12 @@ RED.nodes = (function() {
|
|||||||
}
|
}
|
||||||
node._config.x = node.x;
|
node._config.x = node.x;
|
||||||
node._config.y = node.y;
|
node._config.y = node.y;
|
||||||
|
if (n.hasOwnProperty('w')) {
|
||||||
|
node.w = n.w
|
||||||
|
}
|
||||||
|
if (n.hasOwnProperty('h')) {
|
||||||
|
node.h = n.h
|
||||||
|
}
|
||||||
} else if (n.type.substring(0,7) === "subflow") {
|
} else if (n.type.substring(0,7) === "subflow") {
|
||||||
var parentId = n.type.split(":")[1];
|
var parentId = n.type.split(":")[1];
|
||||||
var subflow = subflow_denylist[parentId]||subflow_map[parentId]||getSubflow(parentId);
|
var subflow = subflow_denylist[parentId]||subflow_map[parentId]||getSubflow(parentId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user