mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #3671 from node-red-hitachi/fix-disable-junction
Fix disable junction
This commit is contained in:
commit
e50ecd613f
@ -5748,7 +5748,12 @@ RED.view = (function() {
|
|||||||
node.dirty = true;
|
node.dirty = true;
|
||||||
node.dirtyStatus = true;
|
node.dirtyStatus = true;
|
||||||
node.changed = true;
|
node.changed = true;
|
||||||
RED.events.emit("nodes:change",node);
|
if (node.type === "junction") {
|
||||||
|
RED.events.emit("junctions:change",node);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
RED.events.emit("nodes:change",node);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user