summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorPellaeon Lin <nfsmwlin@gmail.com>2016-03-12 11:29:59 +0800
committerPellaeon Lin <nfsmwlin@gmail.com>2016-05-21 12:54:29 +0800
commit72ac5dd8a117a95f9e3f0bfdc33247a27e38c263 (patch)
tree359c5724308dbcac0c79eb2d0c87003ec37a3e55 /apps/files/js
parentd3ff3c589bd36ea68f7d723ffda5c06e474f779e (diff)
downloadnextcloud-server-72ac5dd8a117a95f9e3f0bfdc33247a27e38c263.tar.gz
nextcloud-server-72ac5dd8a117a95f9e3f0bfdc33247a27e38c263.zip
Make entire file tr droppable,
so that .canDrop will highlight the entire row when drag hover
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index ef29a4844bf..6c482e8834a 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1322,7 +1322,7 @@
}
// allow dropping on folders
if (this._folderDropOptions && mime === 'httpd/unix-directory') {
- filenameTd.droppable(this._folderDropOptions);
+ tr.droppable(this._folderDropOptions);
}
if (options.hidden) {