Merged r10836 from trunk (#12298).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10871 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-11-23 22:28:37 +00:00
parent af8dcccb7b
commit c5f2dadb2c
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ function contextMenuClick(event) {
}
contextMenuHide();
if (target.is('a') || target.is('img')) { return; }
if (event.which == 1 /*TODO || (navigator.appVersion.match(/\bMSIE\b/))*/) {
if (event.which == 1 || (navigator.appVersion.match(/\bMSIE\b/))) {
var tr = target.parents('tr').first();
if (tr.length && tr.hasClass('hascontextmenu')) {
// a row was clicked, check if the click was on checkbox