summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-09-29 13:24:33 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-29 13:24:33 +0200
commitd52361b09b3960d962f59b03a7aa178b45efa5b1 (patch)
treece1433f231906dceda3c881dd5f6acdcca93c838 /apps/files/js
parent4eb299a308fa7501d3106c2857539bfc51bf5509 (diff)
downloadnextcloud-server-d52361b09b3960d962f59b03a7aa178b45efa5b1.tar.gz
nextcloud-server-d52361b09b3960d962f59b03a7aa178b45efa5b1.zip
Disable sorting when multiselect is enabled in file list
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/filelist.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 4b1b38d783c..060269c220f 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -623,6 +623,9 @@
* Event handler when clicking on a table header
*/
_onClickHeader: function(e) {
+ if (this.$table.hasClass('multiselect')) {
+ return;
+ }
var $target = $(e.target);
var sort;
if (!$target.is('a')) {