Fixed context menu for IE 7/8 (#12298).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10836 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-11-18 10:02:07 +00:00
parent 98f225f6cd
commit 3cf6a56b97
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