Skip to content

Commit

Permalink
Adding support for BB10 context menus. This includes both displaying the
Browse files Browse the repository at this point in the history
context menus on "long press" events as well as supporting the BB10
context menu APIs.
  • Loading branch information
Jeffrey Heifetz committed Sep 19, 2012
1 parent 9a200a1 commit e863fd3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions lib/ripple/platform/webworks.bb10/1.0.0/context-menu.js
Expand Up @@ -224,10 +224,6 @@ event.on("ContextMenuEvent", function (context) {
showMenu();
});

event.on("LayoutChanged", function () {
showMenu();
});

event.on("contextmenu.executeMenuAction", function (actionId) {
var callback = _storedCallbacks[actionId];

Expand Down
1 change: 0 additions & 1 deletion lib/ripple/ui/plugins/context-menu.js
Expand Up @@ -296,7 +296,6 @@ function rotationHandler() {
} else {
maxNumItemsInPeekMode = MAX_NUM_ITEMS_IN_LANDSCAPE_PEEK_MODE;
}
self.hideContextMenu();
}

function handleMouseDown(evt) {
Expand Down

0 comments on commit e863fd3

Please sign in to comment.