Suppress menu when selecting entity from member/membership editor

This commit is contained in:
Bryan Housel
2017-01-29 21:27:39 -05:00
parent b4e0862119
commit b9b7ef9748
2 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ export function uiRawMemberEditor(context) {
function selectMember(d) {
d3.event.preventDefault();
context.enter(modeSelect(context, [d.id]));
context.enter(modeSelect(context, [d.id]).suppressMenu(true));
}

View File

@@ -25,7 +25,7 @@ export function uiRawMembershipEditor(context) {
function selectRelation(d) {
d3.event.preventDefault();
context.enter(modeSelect(context, [d.relation.id]));
context.enter(modeSelect(context, [d.relation.id]).suppressMenu(true));
}
@@ -55,7 +55,7 @@ export function uiRawMembershipEditor(context) {
t('operations.add.annotation.relation')
);
context.enter(modeSelect(context, [relation.id]));
context.enter(modeSelect(context, [relation.id]).suppressMenu(true));
}
}