mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 15:34:26 +01:00
Merge pull request #5352 from GogoVega/fix-5347-history
Fix invalid `dirty` state during redo after deployment
This commit is contained in:
@@ -833,8 +833,8 @@ RED.history = (function() {
|
||||
return {
|
||||
//TODO: this function is a placeholder until there is a 'save' event that can be listened to
|
||||
markAllDirty: function() {
|
||||
for (var i=0;i<undoHistory.length;i++) {
|
||||
undoHistory[i].dirty = true;
|
||||
for (const event of [...undoHistory, ...redoHistory]) {
|
||||
event.dirty = true;
|
||||
}
|
||||
},
|
||||
list: function() {
|
||||
|
||||
Reference in New Issue
Block a user