From c58c14cc738f4daf18a58b7ac138219d55bdeb10 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 24 Mar 2011 19:21:47 +0000 Subject: [PATCH] Adds support for Mac metaKey in issues selection (#5148). Contributed by Simon Courtois. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5217 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/javascripts/context_menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/context_menu.js b/public/javascripts/context_menu.js index 3485ead8e..459859af1 100644 --- a/public/javascripts/context_menu.js +++ b/public/javascripts/context_menu.js @@ -50,7 +50,7 @@ ContextMenu.prototype = { tr.removeClassName('context-menu-selection'); } } else { - if (e.ctrlKey) { + if (e.ctrlKey || e.metaKey) { this.toggleSelection(tr); } else if (e.shiftKey) { if (this.lastSelected != null) {