summaryrefslogtreecommitdiffstats
path: root/public/javascripts
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-11-18 10:02:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-11-18 10:02:07 +0000
commit3cf6a56b9703f8e763371e3bbe27207621f884de (patch)
tree5ea5bd5b31aaa9711a9b14bf497a52a8d201f258 /public/javascripts
parent98f225f6cd670be800869a8b2b684b9e5b865cf9 (diff)
downloadredmine-3cf6a56b9703f8e763371e3bbe27207621f884de.tar.gz
redmine-3cf6a56b9703f8e763371e3bbe27207621f884de.zip
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
Diffstat (limited to 'public/javascripts')
-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 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