mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-27 22:35:22 +00:00
merge of '217d2de82145e1b73b967f969ccb9467d0680dcb'
and '5457dab94bc7224402eec992425d14381e88c381' Monotone-Parent: 217d2de82145e1b73b967f969ccb9467d0680dcb Monotone-Parent: 5457dab94bc7224402eec992425d14381e88c381 Monotone-Revision: 320e26fe80afea789e2f0c3c4d58fa7d657999c6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-11-01T19:39:29 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -541,8 +541,8 @@ function acceptMultiSelect(node) {
|
||||
return response;
|
||||
}
|
||||
|
||||
function onRowClick(event) {
|
||||
var node = Event.element(event);
|
||||
function onRowClick(event, target) {
|
||||
var node = target || getTarget(event);
|
||||
var rowIndex = null;
|
||||
|
||||
if (node.tagName != 'TD' && node.tagName != 'LI')
|
||||
@@ -575,7 +575,6 @@ function onRowClick(event) {
|
||||
}
|
||||
|
||||
var initialSelection = $(node.parentNode).getSelectedNodesId();
|
||||
|
||||
if (initialSelection && initialSelection.length > 0
|
||||
&& initialSelection.indexOf(node.id) >= 0
|
||||
&& !eventIsLeftClick(event))
|
||||
|
||||
Reference in New Issue
Block a user