Suppress radial menu when clicking warning (fixes #2035)

This commit is contained in:
John Firebaugh
2014-01-02 17:47:55 -08:00
parent 7bbca76a20
commit 5f8c02fddc
+3 -1
View File
@@ -195,7 +195,9 @@ iD.ui.Commit = function(context) {
function warningClick(d) {
if (d.entity) {
context.map().zoomTo(d.entity);
context.enter(iD.modes.Select(context, [d.entity.id]));
context.enter(
iD.modes.Select(context, [d.entity.id])
.suppressMenu(true));
}
}
}