Merge pull request #3671 from node-red-hitachi/fix-disable-junction

Fix disable junction
This commit is contained in:
Nick O'Leary 2022-06-16 11:20:18 +01:00 committed by GitHub
commit e50ecd613f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -5748,10 +5748,15 @@ RED.view = (function() {
node.dirty = true;
node.dirtyStatus = true;
node.changed = true;
if (node.type === "junction") {
RED.events.emit("junctions:change",node);
}
else {
RED.events.emit("nodes:change",node);
}
}
}
}
if (historyEvents.length > 0) {
RED.history.push({
t:"multi",