зеркало из https://github.com/mozilla/gecko-dev.git
#37942 r=sspitzer sr=mscott. Prevent the move/copy messages operation to continue if a
message is dropped on a folders-only folder.
This commit is contained in:
Родитель
0860dd47a8
Коммит
1d7bf27017
|
@ -205,6 +205,12 @@ function DropOnFolderTree(event)
|
|||
debugDump("***canFileMessages == false\n");
|
||||
return(false);
|
||||
}
|
||||
var noSelect = treeItem.getAttribute("NoSelect");
|
||||
if (noSelect == "true")
|
||||
{
|
||||
debugDump("***NoSelect == true\n");
|
||||
return(false);
|
||||
}
|
||||
|
||||
var dragService = GetDragService();
|
||||
if ( !dragService ) return(false);
|
||||
|
|
Загрузка…
Ссылка в новой задаче