[Browse] Context menu gesture called

The context menu gesture is called when the user clicks
the arrow next to the title of a domain object. This does
not yet display the context menu. It also does not yet
distinguish between edit and browse mode. #33.
This commit is contained in:
Sarah Hale
2015-06-30 11:18:56 -07:00
parent 397a545482
commit 57eefd7316
4 changed files with 29 additions and 5 deletions

View File

@@ -60,7 +60,10 @@ define(
goLeft = eventCoors[0] + menuDim[0] > winDim[0],
goUp = eventCoors[1] + menuDim[1] > winDim[1],
menu;
//console.log('in showMenu() in ContextMenuGesture');
//console.log('domainObject is ', domainObject);
// Remove the context menu
function dismiss() {
menu.remove();
@@ -104,6 +107,7 @@ define(
// When context menu event occurs, show object actions instead
element.on('contextmenu', showMenu);
$rootScope.$on('leftContextual', showMenu);
return {
/**