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:
parent
40787ff43f
commit
2740c67682
|
@ -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…
Reference in New Issue