From bd18cc9353ef4e9e4520410458955a2151ebec29 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 7 Dec 2012 14:46:12 -0500 Subject: [PATCH] Fix changeset creation (fixes #230) --- js/id/ui/commit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/id/ui/commit.js b/js/id/ui/commit.js index 3a401d2f8..e5f3de828 100644 --- a/js/id/ui/commit.js +++ b/js/id/ui/commit.js @@ -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()