mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-12 20:05:08 +00:00
See ChangeLog.
Monotone-Parent: 127d7e0f27ce8654d56f5744a2db77f6e533bf38 Monotone-Revision: baa6f9af328e12270813b11beac4250ab90005b0 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-01-30T00:51:17 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -2801,8 +2801,20 @@ function startDragging (itm, e) {
|
||||
if (target.up('TBODY') == undefined)
|
||||
return;
|
||||
|
||||
if (target.tagName != 'TD')
|
||||
target = target.up('TD');
|
||||
var row = target.up('TR');
|
||||
|
||||
var handle = $("dragDropVisual");
|
||||
var count = $("messageListBody").getSelectedRowsId().length;
|
||||
var selectedIds = $("messageListBody").getSelectedRowsId();
|
||||
var count = selectedIds.length;
|
||||
var rowId = row.id;
|
||||
|
||||
if (count == 0 || selectedIds.indexOf(rowId) < 0) {
|
||||
onRowClick(e, target);
|
||||
selectedIds = $("messageListBody").getSelectedRowsId();
|
||||
count = selectedIds.length;
|
||||
}
|
||||
|
||||
handle.update(count);
|
||||
if (Mailer.currentMailbox) {
|
||||
|
||||
Reference in New Issue
Block a user