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

pull/1/head
yflory 6 years ago
parent 35977a7ef0
commit 8243927352

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

Loading…
Cancel
Save