select parentway(s) after dragging node

fixes #1368
This commit is contained in:
Ansis Brammanis
2013-04-23 21:10:15 -04:00
parent 1d5b13c45d
commit 01238a49db
+3 -1
View File
@@ -136,7 +136,9 @@ iD.modes.DragNode = function(context) {
moveAnnotation(entity));
}
context.enter(iD.modes.Browse(context));
var parentWays = _.pluck(context.graph().parentWays(entity), 'id');
context.enter(iD.modes.Select(context, parentWays));
}
function cancel() {