mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #2607 from node-red-hitachi/fix-stringify-error
prevent conversion of circular structure
This commit is contained in:
commit
81a4f42673
@ -2461,7 +2461,7 @@ RED.editor = (function() {
|
|||||||
changes[d] = oldValues[d];
|
changes[d] = oldValues[d];
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else if (d !== "nodes") {
|
||||||
if (JSON.stringify(oldValues[d]) !== JSON.stringify(editing_node[d])) {
|
if (JSON.stringify(oldValues[d]) !== JSON.stringify(editing_node[d])) {
|
||||||
changes[d] = oldValues[d];
|
changes[d] = oldValues[d];
|
||||||
changed = true;
|
changed = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user