mirror of
https://github.com/nasa/openmct.git
synced 2025-01-19 19:27:07 +00:00
[Browse] Changed action key
Changed the key for the context menu action from 'contextMenu' to 'menu'. #33.
This commit is contained in:
parent
bb80b2175c
commit
3edd967e27
@ -52,14 +52,14 @@ define(
|
||||
console.log('event ', event);
|
||||
*/
|
||||
|
||||
context = {key: 'contextMenu', event: event, domainObject: domainObject};
|
||||
context = {key: 'menu', event: event, domainObject: domainObject};
|
||||
domainObject.getCapability('action').perform(context);
|
||||
}
|
||||
|
||||
// attempt to set the domain object
|
||||
$scope.$watch('domainObject', function (c) {
|
||||
domainObject = c;
|
||||
console.log('watcher called');
|
||||
//console.log('watcher called');
|
||||
});
|
||||
|
||||
return {
|
||||
|
@ -52,7 +52,7 @@
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"key": "contextMenu",
|
||||
"key": "menu",
|
||||
"implementation": "actions/ContextMenuAction.js",
|
||||
"depends": [ "$compile", "$document", "$window", "$rootScope" ]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user