@@ -79,11 +79,15 ContextMenu.prototype = { | |||
|
79 | 79 | } else { |
|
80 | 80 | // click is outside the rows |
|
81 | 81 | var t = Event.findElement(e, 'a'); |
|
82 | if ((t != document) && (Element.hasClassName(t, 'disabled') || Element.hasClassName(t, 'submenu'))) { | |
|
82 | if (t == document || t == undefined) { | |
|
83 | this.unselectAll(); | |
|
84 | } else { | |
|
85 | if (Element.hasClassName(t, 'disabled') || Element.hasClassName(t, 'submenu')) { | |
|
83 | 86 | Event.stop(e); |
|
84 | 87 | } |
|
85 | 88 | } |
|
86 | 89 | } |
|
90 | } | |
|
87 | 91 | else{ |
|
88 | 92 | this.RightClick(e); |
|
89 | 93 | } |
General Comments 0
You need to be logged in to leave comments.
Login now