mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-26 15:29:31 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user