##// END OF EJS Templates
Merged r2178 from trunk....
Jean-Philippe Lang -
r2177:16b85bda32d6
parent child
Show More
@@ -48,7 +48,7 ContextMenu.prototype = {
48 48 if (window.opera && e.altKey) { return; }
49 49 if (Event.isLeftClick(e) || (navigator.appVersion.match(/\bMSIE\b/))) {
50 50 var tr = Event.findElement(e, 'tr');
51 if (tr!=document && tr.hasClassName('hascontextmenu')) {
51 if (tr!=null && tr!=document && tr.hasClassName('hascontextmenu')) {
52 52 // a row was clicked, check if the click was on checkbox
53 53 var box = Event.findElement(e, 'input');
54 54 if (box!=document && box!=undefined) {
General Comments 0
You need to be logged in to leave comments. Login now