Don't mark a subflow changed when actually modified nothing (#1665)

This commit is contained in:
Kazuki Nakanishi
2018-03-21 05:39:46 +09:00
committed by Nick O'Leary
parent fe289e62b5
commit 2d52527fb4
3 changed files with 48 additions and 48 deletions

View File

@@ -408,9 +408,12 @@ RED.deploy = (function() {
delete confNode.credentials;
}
});
RED.nodes.eachSubflow(function(subflow) {
subflow.changed = false;
});
RED.nodes.eachWorkspace(function(ws) {
ws.changed = false;
})
});
// Once deployed, cannot undo back to a clean state
RED.history.markAllDirty();
RED.view.redraw();