Add 'changed' property to nodes to track undeployed changes

Part of #33
This commit is contained in:
Nicholas O'Leary
2013-11-15 23:40:36 +00:00
parent f7fc0760ca
commit e703fa1b6b
4 changed files with 18 additions and 3 deletions

View File

@@ -213,7 +213,7 @@ RED.editor = function() {
RED.view.dirty(true);
RED.history.push({t:'edit',node:editing_node,changes:changes,links:removedLinks,dirty:wasDirty});
}
editing_node.changed = true;
editing_node.dirty = true;
validateNode(editing_node);
RED.view.redraw();