mirror of https://github.com/node-red/node-red.git
Merge pull request #4426 from node-red/4044-group-bb-import
Ensure group w/h are imported if presentpull/4417/head^2
commit
923339c1d8
|
@ -2198,6 +2198,12 @@ RED.nodes = (function() {
|
|||
}
|
||||
node._config.x = node.x;
|
||||
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") {
|
||||
var parentId = n.type.split(":")[1];
|
||||
var subflow = subflow_denylist[parentId]||subflow_map[parentId]||getSubflow(parentId);
|
||||
|
|
Loading…
Reference in New Issue