Removes obsolete code from Opera pseudo right click (#7700).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4947 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-02-24 17:56:17 +00:00 committed by Eric Davis
parent 40787ff43f
commit 2740c67682
1 changed files with 0 additions and 1 deletions

View File

@ -37,7 +37,6 @@ ContextMenu.prototype = {
Click: function(e) { Click: function(e) {
this.hideMenu(); this.hideMenu();
if (Event.element(e).tagName == 'A') { return; } if (Event.element(e).tagName == 'A') { return; }
if (window.opera && e.altKey) { return; }
if (!Event.isRightClick(e) || (navigator.appVersion.match(/\bMSIE\b/))) { if (!Event.isRightClick(e) || (navigator.appVersion.match(/\bMSIE\b/))) {
var tr = Event.findElement(e, 'tr'); var tr = Event.findElement(e, 'tr');
if (tr!=null && tr!=document && tr.hasClassName('hascontextmenu')) { if (tr!=null && tr!=document && tr.hasClassName('hascontextmenu')) {