mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 13:43:09 +00:00
parent
2524c75505
commit
a582375e61
@ -45,12 +45,6 @@ define(
|
||||
|
||||
// When context menu event occurs, show object actions instead
|
||||
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};
|
||||
stop = domainObject.getCapability('action').perform(actionContext);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user