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

prevent conversion of circular structure

This commit is contained in:
Hiroyasu Nishiyama 2020-06-10 19:56:16 +09:00
parent 7be824640c
commit 152e695f4c

View File

@ -2461,7 +2461,7 @@ RED.editor = (function() {
changes[d] = oldValues[d];
changed = true;
}
} else {
} else if (d !== "nodes") {
if (JSON.stringify(oldValues[d]) !== JSON.stringify(editing_node[d])) {
changes[d] = oldValues[d];
changed = true;