зеркало из https://github.com/mozilla/gecko-dev.git
56911 r=varada sr=bienvenu. News to pop/imap is always a copy.
This commit is contained in:
Родитель
3399dd4fd5
Коммит
2da7b60a9b
|
@ -270,9 +270,7 @@ function DropOnFolderTree(event)
|
|||
var nextMessage;
|
||||
var messageTree;
|
||||
|
||||
if (targetServer == sourceServer)
|
||||
{
|
||||
if (isNews)
|
||||
if (isNews) //news to pop or imap is always a copy
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -308,30 +306,6 @@ function DropOnFolderTree(event)
|
|||
dump ( "Exception : CopyMessages \n");
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!ctrlKeydown)
|
||||
{
|
||||
messageTree = GetThreadTree();
|
||||
nextMessage = GetNextMessageAfterDelete(messageTree.selectedItems);
|
||||
if(nextMessage)
|
||||
gNextMessageAfterDelete = nextMessage.getAttribute('id');
|
||||
else
|
||||
gNextMessageAfterDelete = null;
|
||||
}
|
||||
try {
|
||||
messenger.CopyMessages(treeDatabase,
|
||||
sourceRescource,
|
||||
targetNode, messageList, !ctrlKeydown);
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
gNextMessageAfterDelete = null;
|
||||
dump ( "Exception : CopyMessages \n");
|
||||
}
|
||||
}
|
||||
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче