diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-11 19:30:54 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-11 19:30:54 +0000 |
commit | 340cf8204c21806074051e7500c5f171cae08a59 (patch) | |
tree | e6b9d4f87b6e2967682aaad459b23d34f597ab77 /public | |
parent | 34f1bc0f08153a4e4c0b0b3639ea97b91e6e816f (diff) | |
download | redmine-340cf8204c21806074051e7500c5f171cae08a59.tar.gz redmine-340cf8204c21806074051e7500c5f171cae08a59.zip |
Do not select the row when clicking on an image.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5425 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r-- | public/javascripts/context_menu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/context_menu.js b/public/javascripts/context_menu.js index 459859af1..10f41dc47 100644 --- a/public/javascripts/context_menu.js +++ b/public/javascripts/context_menu.js @@ -36,7 +36,7 @@ ContextMenu.prototype = { Click: function(e) { this.hideMenu(); - if (Event.element(e).tagName == 'A') { return; } + if (Event.element(e).tagName == 'A' || Event.element(e).tagName == 'IMG') { return; } if (Event.isLeftClick(e) || (navigator.appVersion.match(/\bMSIE\b/))) { var tr = Event.findElement(e, 'tr'); if (tr!=null && tr!=document && tr.hasClassName('hascontextmenu')) { |