mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
fix disable junction
This commit is contained in:
parent
8762d0e164
commit
3ab93ecdd4
@ -5736,10 +5736,15 @@ RED.view = (function() {
|
|||||||
node.dirty = true;
|
node.dirty = true;
|
||||||
node.dirtyStatus = true;
|
node.dirtyStatus = true;
|
||||||
node.changed = true;
|
node.changed = true;
|
||||||
|
if (node.type === "junction") {
|
||||||
|
RED.events.emit("junctions:change",node);
|
||||||
|
}
|
||||||
|
else {
|
||||||
RED.events.emit("nodes:change",node);
|
RED.events.emit("nodes:change",node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (historyEvents.length > 0) {
|
if (historyEvents.length > 0) {
|
||||||
RED.history.push({
|
RED.history.push({
|
||||||
t:"multi",
|
t:"multi",
|
||||||
|
Loading…
Reference in New Issue
Block a user