From fe634f4f9f83fcbfcc0b5fbeb5e0b80abe593174 Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Tue, 8 Jan 2013 16:04:31 -0500 Subject: [PATCH] Tag commits with imagery used --- js/id/connection.js | 2 +- js/id/format/xml.js | 5 +++-- js/id/graph/history.js | 10 ++++++++-- js/id/id.js | 2 +- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/js/id/connection.js b/js/id/connection.js index 5feae7a28..4e9c90eba 100644 --- a/js/id/connection.js +++ b/js/id/connection.js @@ -103,7 +103,7 @@ iD.Connection = function() { return oauth.authenticated(); } - connection.putChangeset = function(changes, comment, callback) { + connection.putChangeset = function(changes, comment, imagery_used, callback) { oauth.xhr({ method: 'PUT', path: '/api/0.6/changeset/create', diff --git a/js/id/format/xml.js b/js/id/format/xml.js index 5167dfe1d..e0ef9e41a 100644 --- a/js/id/format/xml.js +++ b/js/id/format/xml.js @@ -15,14 +15,15 @@ iD.format.XML = { return s.replace(/>/g,'>').replace(/