mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Ensure debug node marked changed when button pressed
This commit is contained in:
parent
835ad29417
commit
080469cdf5
@ -81,9 +81,10 @@
|
|||||||
changed:node.changed
|
changed:node.changed
|
||||||
};
|
};
|
||||||
node.changed = true;
|
node.changed = true;
|
||||||
|
node.dirty = true;
|
||||||
RED.nodes.dirty(true);
|
RED.nodes.dirty(true);
|
||||||
RED.history.push(historyEvent);
|
RED.history.push(historyEvent);
|
||||||
|
RED.view.redraw();
|
||||||
if (xhr.status == 200) {
|
if (xhr.status == 200) {
|
||||||
RED.notify(node._("debug.notification.activated",{label:label}),"success");
|
RED.notify(node._("debug.notification.activated",{label:label}),"success");
|
||||||
} else if (xhr.status == 201) {
|
} else if (xhr.status == 201) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user