зеркало из https://github.com/mozilla/gecko-dev.git
Fix for 17277. reviewed by mscott. Delete selects next message instead of previous.
This commit is contained in:
Родитель
7a53af86e4
Коммит
712956352b
|
@ -512,10 +512,12 @@ function GetNextMessageAfterDelete(messages)
|
|||
|
||||
var curMessage = messages[0];
|
||||
var nextMessage = null;
|
||||
var tree = GetThreadTree();
|
||||
|
||||
//search forward
|
||||
while(curMessage)
|
||||
{
|
||||
nextMessage = GetNextMessage(curMessage, GoMessage, false);
|
||||
nextMessage = GetNextMessage(tree, curMessage, GoMessage, false);
|
||||
if(nextMessage)
|
||||
{
|
||||
if(!MessageInSelection(nextMessage, messages))
|
||||
|
|
Загрузка…
Ссылка в новой задаче