Fix changeset creation (fixes #230)

This commit is contained in:
John Firebaugh
2012-12-07 14:46:12 -05:00
parent c4fa7b8dce
commit bd18cc9353

View File

@@ -10,7 +10,7 @@ iD.commit = function() {
header.append('p').text('the changes you upload will be visible on all maps using OpenStreetMap data');
var section = body.selectAll('div.commit-section')
.data(['modify', 'delete', 'create'].filter(function(d) {
.data(['modified', 'deleted', 'created'].filter(function(d) {
return changes[d].length;
}))
.enter()