mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 15:34:49 +02:00
Fix unknown entity error on merge (fixes #1618)
This commit is contained in:
@@ -15,8 +15,9 @@ iD.operations.Merge = function(selectedIDs, context) {
|
||||
action = mergePolygon;
|
||||
}
|
||||
|
||||
var difference = context.perform(action, annotation);
|
||||
context.enter(iD.modes.Select(context, difference.extantIDs()));
|
||||
context.perform(action, annotation);
|
||||
context.enter(iD.modes.Select(context, selectedIDs.filter(function(id) { return context.hasEntity(id); }))
|
||||
.suppressMenu(true));
|
||||
};
|
||||
|
||||
operation.available = function() {
|
||||
|
||||
Reference in New Issue
Block a user