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

Clear moved flag when nodes are deployed

This commit is contained in:
Nick O'Leary 2017-06-30 21:48:38 +01:00
parent 9a6cf58565
commit f3840512ba
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -385,6 +385,10 @@ RED.deploy = (function() {
node.dirty = true; node.dirty = true;
node.changed = false; node.changed = false;
} }
if (node.moved) {
node.dirty = true;
node.moved = false;
}
if(node.credentials) { if(node.credentials) {
delete node.credentials; delete node.credentials;
} }