mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
[groups] Fix undo/redo handling of addTo/removeFrom group
This commit is contained in:
parent
27c462fee9
commit
c9194c3635
@ -503,7 +503,7 @@ RED.history = (function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (ev.t == "addToGroup") {
|
} else if (ev.t == "addToGroup") {
|
||||||
inverse = {
|
inverseEv = {
|
||||||
t: "removeFromGroup",
|
t: "removeFromGroup",
|
||||||
dirty: RED.nodes.dirty(),
|
dirty: RED.nodes.dirty(),
|
||||||
group: ev.group,
|
group: ev.group,
|
||||||
@ -513,7 +513,7 @@ RED.history = (function() {
|
|||||||
RED.group.removeFromGroup(ev.group,ev.nodes);
|
RED.group.removeFromGroup(ev.group,ev.nodes);
|
||||||
}
|
}
|
||||||
} else if (ev.t == "removeFromGroup") {
|
} else if (ev.t == "removeFromGroup") {
|
||||||
inverse = {
|
inverseEv = {
|
||||||
t: "addToGroup",
|
t: "addToGroup",
|
||||||
dirty: RED.nodes.dirty(),
|
dirty: RED.nodes.dirty(),
|
||||||
group: ev.group,
|
group: ev.group,
|
||||||
|
Loading…
Reference in New Issue
Block a user