summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-05-16 17:27:50 +0200
committerVincent Petry <pvince81@owncloud.com>2014-05-16 17:27:50 +0200
commitd5f60a8eb0b3521ba0d85e9191468f09ea37803e (patch)
treee1f2c8f0649a0ddb90df04e93b18f4d30963ef8d
parent1fb0d5412c7a4a3b888098e492342699d05fe55e (diff)
parentf3d421d24bdffccbb9a90b3a4d712900f2c266d5 (diff)
downloadnextcloud-server-d5f60a8eb0b3521ba0d85e9191468f09ea37803e.tar.gz
nextcloud-server-d5f60a8eb0b3521ba0d85e9191468f09ea37803e.zip
Merge pull request #8610 from owncloud/ie8-filesdndbug
Fix drag and drop in IE8
-rw-r--r--apps/files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 81588c2f961..92f97f5d3c0 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -353,7 +353,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);
+ selectedFiles = _.sortBy(selectedFiles, FileList._fileInfoCompare);
if (!isDragSelected && selectedFiles.length === 1) {
//revert the selection