[Browse] Changed action key

Changed the key for the context menu action from
'contextMenu' to 'menu'. #33.
This commit is contained in:
Sarah Hale 2015-07-02 10:01:38 -07:00
parent bb80b2175c
commit 3edd967e27
2 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -52,7 +52,7 @@
],
"actions": [
{
"key": "contextMenu",
"key": "menu",
"implementation": "actions/ContextMenuAction.js",
"depends": [ "$compile", "$document", "$window", "$rootScope" ]
}