summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-24 19:21:47 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-24 19:21:47 +0000
commitc58c14cc738f4daf18a58b7ac138219d55bdeb10 (patch)
tree4c7cdbbfca161e80d3530495c90a8d9699f30833 /public
parent91b1f9be5179f6dd5d0e244e0464b24a24d6317c (diff)
downloadredmine-c58c14cc738f4daf18a58b7ac138219d55bdeb10.tar.gz
redmine-c58c14cc738f4daf18a58b7ac138219d55bdeb10.zip
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
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/context_menu.js2
1 files changed, 1 insertions, 1 deletions
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) {