@@ -36,7 +36,7 ContextMenu.prototype = { | |||||
36 |
|
36 | |||
37 | Click: function(e) { |
|
37 | Click: function(e) { | |
38 | this.hideMenu(); |
|
38 | this.hideMenu(); | |
39 | if (Event.element(e).tagName == 'A') { return; } |
|
39 | if (Event.element(e).tagName == 'A' || Event.element(e).tagName == 'IMG') { return; } | |
40 | if (Event.isLeftClick(e) || (navigator.appVersion.match(/\bMSIE\b/))) { |
|
40 | if (Event.isLeftClick(e) || (navigator.appVersion.match(/\bMSIE\b/))) { | |
41 | var tr = Event.findElement(e, 'tr'); |
|
41 | var tr = Event.findElement(e, 'tr'); | |
42 | if (tr!=null && tr!=document && tr.hasClassName('hascontextmenu')) { |
|
42 | if (tr!=null && tr!=document && tr.hasClassName('hascontextmenu')) { |
General Comments 0
You need to be logged in to leave comments.
Login now