1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Ensure debug node marked changed when button pressed

This commit is contained in:
Nick O'Leary 2017-05-12 22:35:29 +01:00
parent 835ad29417
commit 080469cdf5
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -81,9 +81,10 @@
changed:node.changed
};
node.changed = true;
node.dirty = true;
RED.nodes.dirty(true);
RED.history.push(historyEvent);
RED.view.redraw();
if (xhr.status == 200) {
RED.notify(node._("debug.notification.activated",{label:label}),"success");
} else if (xhr.status == 201) {