mirror of https://github.com/node-red/node-red.git
Merge branch 'dev' into adding-timeout-to-functio-node
commit
220a621dc6
|
@ -720,10 +720,13 @@ RED.editor = (function() {
|
||||||
if (typeof editing_node[d] === "string" || typeof editing_node[d] === "number") {
|
if (typeof editing_node[d] === "string" || typeof editing_node[d] === "number") {
|
||||||
oldValues[d] = editing_node[d];
|
oldValues[d] = editing_node[d];
|
||||||
} else {
|
} else {
|
||||||
|
// Dont clone the group node `nodes` array
|
||||||
|
if (editing_node.type !== 'group' || d !== "nodes") {
|
||||||
oldValues[d] = $.extend(true,{},{v:editing_node[d]}).v;
|
oldValues[d] = $.extend(true,{},{v:editing_node[d]}).v;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
var rc = editing_node._def.oneditsave.call(editing_node);
|
var rc = editing_node._def.oneditsave.call(editing_node);
|
||||||
|
|
Loading…
Reference in New Issue