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
pull/351/head
Jean-Philippe Lang 14 years ago committed by Eric Davis
parent 40787ff43f
commit 2740c67682
  1. 1
      public/javascripts/context_menu.js

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

Loading…
Cancel
Save