Skip to content
Snippets Groups Projects
Commit 3159c2ee authored by Vincent Petry's avatar Vincent Petry
Browse files

Fixed drag shadow file sorting

parent fd982df6
No related branches found
No related tags found
No related merge requests found
......@@ -318,6 +318,7 @@ var createDragShadow = function(event) {
// do not show drag shadow for too many files
var selectedFiles = _.first(FileList.getSelectedFiles(), FileList.pageSize);
selectedFiles.sort(FileList._fileInfoCompare);
if (!isDragSelected && selectedFiles.length === 1) {
//revert the selection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment