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
af8689db98
commit
ead20ec2e5
|
@ -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.isLeftClick(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