mirror of
https://github.com/nasa/openmct.git
synced 2025-05-11 13:03:03 +00:00
parent
2524c75505
commit
a582375e61
@ -45,12 +45,6 @@ define(
|
|||||||
|
|
||||||
// When context menu event occurs, show object actions instead
|
// When context menu event occurs, show object actions instead
|
||||||
element.on('contextmenu', function (event) {
|
element.on('contextmenu', function (event) {
|
||||||
console.log('in ContextMenuGesture');
|
|
||||||
console.log('event ', event);
|
|
||||||
console.log('domainObject ', domainObject);
|
|
||||||
console.log('domainObject action', domainObject.getCapability('action'));
|
|
||||||
console.log('domainObject actions', domainObject.getCapability('action').getActions('menu'));
|
|
||||||
|
|
||||||
actionContext = {key: 'menu', domainObject: domainObject, event: event};
|
actionContext = {key: 'menu', domainObject: domainObject, event: event};
|
||||||
stop = domainObject.getCapability('action').perform(actionContext);
|
stop = domainObject.getCapability('action').perform(actionContext);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user