Monotone-Parent: c4392a8d8578caf8d80806e5cb77d1c4ee24ccd7

Monotone-Revision: 985f6c7ac0c60b58fa6e6745ff81be38452afa1e

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-12-05T17:07:40
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2007-12-05 17:07:40 +00:00
parent 1435638871
commit fe1c2b0d18
4 changed files with 31 additions and 47 deletions

View File

@@ -509,9 +509,10 @@ function onRowClick(event) {
}
var initialSelection = $(node.parentNode).getSelectedNodes();
if (initialSelection.length > 0 && !Event.isLeftClick(event))
// Ignore non primary-click (ie right-click)
if (initialSelection.length > 0
&& initialSelection.indexOf(node) >= 0
&& !Event.isLeftClick(event))
// Ignore non primary-click (ie right-click) inside current selection
return true;
if ((event.shiftKey == 1 || event.ctrlKey == 1)