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
This commit is contained in:
Jean-Philippe Lang 2011-03-24 19:21:47 +00:00
parent 91b1f9be51
commit c58c14cc73
1 changed files with 1 additions and 1 deletions

View File

@ -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) {