Merge pull request #2607 from node-red-hitachi/fix-stringify-error

prevent conversion of circular structure
This commit is contained in:
Nick O'Leary 2020-06-10 13:38:32 +01:00 committed by GitHub
commit 81a4f42673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;