tagential to fix for 286289 allow copy of folders across servers sr=mscott

This commit is contained in:
bienvenu%nventure.com 2005-03-22 18:33:24 +00:00
Родитель 4478491c7a
Коммит b17ce2a3eb
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -166,8 +166,8 @@ function CanDropOnFolderTree(index, orientation)
//first check these conditions then proceed further
debugDump("***isFolderFlavor == true \n");
// no copy for folder drag
if (dragSession.dragAction == nsIDragService.DRAGDROP_ACTION_COPY)
// no copy for folder drag within a server
if (dragSession.dragAction == nsIDragService.DRAGDROP_ACTION_COPY && sourceServer == targetServer)
return false;
var canCreateSubfolders = GetFolderAttribute(folderTree, targetResource, "CanCreateSubfolders");