]> git.openstreetmap.org Git - rails.git/commitdiff
Update to iD v1.7.2
authorBryan Housel <bryan@7thposition.com>
Sun, 3 May 2015 14:30:14 +0000 (10:30 -0400)
committerBryan Housel <bryan@7thposition.com>
Sun, 3 May 2015 14:30:14 +0000 (10:30 -0400)
vendor/assets/iD/iD.js
vendor/assets/iD/presets.js

index 617ec0acc83b75d89985e11b8b4032099c72039c..47393cad242d022a1cef40465fc176f39888e906 100644 (file)
@@ -17044,7 +17044,7 @@ window.iD = function () {
     return d3.rebind(context, dispatch, 'on');
 };
 
-iD.version = '1.7.1';
+iD.version = '1.7.2';
 
 (function() {
     var detected = {};
@@ -23378,7 +23378,7 @@ iD.Connection = function() {
             return result;
         }
 
-        _.each(_.groupBy(ids, iD.Entity.id.type), function(v, k) {
+        _.each(_.groupBy(_.uniq(ids), iD.Entity.id.type), function(v, k) {
             var type = k + 's',
                 osmIDs = _.map(v, iD.Entity.id.toOSM);
 
index 0a09d502d224d31626e03d8691c79e4797e7987c..9ef8ee97c7ddb973faac36bbcacc69d684550aad 100644 (file)
@@ -5450,7 +5450,7 @@ iD.data.presets = {
                 "pumpjack"
             ],
             "tags": {
-                "man_made": "mast"
+                "man_made": "petroleum_well"
             },
             "name": "Oil Well"
         },