Merge remote-tracking branch 'github/master' into open1482c

Conflicts:
	platform/representation/src/actions/ContextMenuAction.js
This commit is contained in:
Victor Woeltjen
2015-08-17 15:05:34 -07:00
2 changed files with 28 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ define(
var MENU_TEMPLATE = "<mct-representation key=\"'context-menu'\" " +
"mct-object=\"domainObject\" " +
"ng-class=\"menuClass\"" +
"ng-class=\"menuClass\" " +
"ng-style=\"menuStyle\">" +
"</mct-representation>",
dismissExistingMenu;
@@ -75,7 +75,7 @@ define(
// Remove the context menu
function dismiss() {
menu.remove();
body.off("click", dismiss);
body.off("mousedown", dismiss);
dismissExistingMenu = undefined;
}