зеркало из https://github.com/mozilla/gecko-dev.git
speed up delete mail marked as junk enormously 217299 sr=mscott, a/r=sspitzer
This commit is contained in:
Родитель
b258998bc5
Коммит
43003571b5
|
@ -636,6 +636,7 @@ function deleteJunkInFolder()
|
|||
// since we will be deleting all selected messages
|
||||
treeSelection.clearSelection();
|
||||
clearedSelection = true;
|
||||
treeSelection.selectEventsSuppressed = true;
|
||||
}
|
||||
treeSelection.rangedSelect(i, i, true /* augment */);
|
||||
}
|
||||
|
@ -646,6 +647,7 @@ function deleteJunkInFolder()
|
|||
if (!clearedSelection)
|
||||
return;
|
||||
|
||||
treeSelection.selectEventsSuppressed = false;
|
||||
// delete the selected messages
|
||||
//
|
||||
// XXX todo
|
||||
|
|
Загрузка…
Ссылка в новой задаче