summaryrefslogtreecommitdiffstats
path: root/apps/files/js/recentfilelist.js
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-07-22 14:19:04 +0200
committerRobin Appelman <robin@icewind.nl>2016-07-22 15:20:55 +0200
commit2139a031e706e256eee1e4f8cfc6cea06cf8cb9f (patch)
tree8dc6147de1b159039cf8c67b57c489c6a1bc2903 /apps/files/js/recentfilelist.js
parent81e103074ea6ce9e7035734bc527ab582dbca89f (diff)
downloadnextcloud-server-2139a031e706e256eee1e4f8cfc6cea06cf8cb9f.tar.gz
nextcloud-server-2139a031e706e256eee1e4f8cfc6cea06cf8cb9f.zip
block user sorting in recent files
Diffstat (limited to 'apps/files/js/recentfilelist.js')
-rw-r--r--apps/files/js/recentfilelist.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/js/recentfilelist.js b/apps/files/js/recentfilelist.js
index e63a71f8549..e8c61cbfe2d 100644
--- a/apps/files/js/recentfilelist.js
+++ b/apps/files/js/recentfilelist.js
@@ -28,6 +28,7 @@ $(document).ready(function () {
direction: 'desc'
};
this.initialize($el, options);
+ this._allowSorting = false;
};
RecentFileList.prototype = _.extend({}, OCA.Files.FileList.prototype,
/** @lends OCA.Files.RecentFileList.prototype */ {