Fix an issue preventing shared folders from being moved in the drive

pull/1/head
yflory 2018-09-18 15:43:42 +02:00
parent 35977a7ef0
commit 8243927352
1 changed files with 1 additions and 1 deletions

View File

@ -2756,7 +2756,7 @@ define([
}
var dataPath = isSharedFolder ? path.slice(0, -1) : path;
$elementRow.data('path', dataPath);
addDragAndDropHandlers($elementRow, path, true, droppable);
addDragAndDropHandlers($elementRow, dataPath, true, droppable);
if (active) {
$elementRow.addClass('cp-app-drive-element-active cp-leftside-active');
}