From 4d6c54b87e197592016b48d66ed21d33c1dba01d Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Mon, 5 Nov 2012 16:10:46 -0500 Subject: [PATCH] Mark new things as modified --- js/iD/actions/actions.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/iD/actions/actions.js b/js/iD/actions/actions.js index 18efa77ee..31d1477bb 100644 --- a/js/iD/actions/actions.js +++ b/js/iD/actions/actions.js @@ -55,6 +55,7 @@ iD.actions.AddRoad = { lat: ll[1], lon: ll[0], id: iD.Util.id(), + modified: true, tags: {} }; }, @@ -65,6 +66,7 @@ iD.actions.AddRoad = { tags: { highway: 'residential' }, + modified: true, id: iD.Util.id() }; }, @@ -118,6 +120,7 @@ iD.actions.DrawRoad = function(way) { lat: ll[1], lon: ll[0], id: iD.Util.id(), + modified: true, tags: {} }; },