Suppress menu in more places

This commit is contained in:
John Firebaugh
2013-08-29 14:38:42 -07:00
parent 2197fbc25b
commit 1a166ec9b7
2 changed files with 8 additions and 4 deletions
+4 -2
View File
@@ -59,13 +59,15 @@ iD.modes.Move = function(context, entityIDs) {
function finish() {
d3.event.stopPropagation();
context.enter(iD.modes.Select(context, entityIDs));
context.enter(iD.modes.Select(context, entityIDs)
.suppressMenu(true));
stopNudge();
}
function cancel() {
context.pop();
context.enter(iD.modes.Select(context, entityIDs));
context.enter(iD.modes.Select(context, entityIDs)
.suppressMenu(true));
stopNudge();
}
+4 -2
View File
@@ -37,12 +37,14 @@ iD.modes.RotateWay = function(context, wayId) {
function finish() {
d3.event.stopPropagation();
context.enter(iD.modes.Select(context, [wayId]));
context.enter(iD.modes.Select(context, [wayId])
.suppressMenu(true));
}
function cancel() {
context.pop();
context.enter(iD.modes.Select(context, [wayId]));
context.enter(iD.modes.Select(context, [wayId])
.suppressMenu(true));
}
function undone() {