From 3cf6a56b9703f8e763371e3bbe27207621f884de Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 18 Nov 2012 10:02:07 +0000 Subject: 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 --- public/javascripts/context_menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/javascripts') diff --git a/public/javascripts/context_menu.js b/public/javascripts/context_menu.js index 5ec9109d8..6c0b36414 100644 --- a/public/javascripts/context_menu.js +++ b/public/javascripts/context_menu.js @@ -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 -- cgit v1.2.3