summaryrefslogtreecommitdiffstats
path: root/apps
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
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')
-rw-r--r--apps/files/css/files.css3
-rw-r--r--apps/files/js/filelist.js2
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 9da46aaeede..94eafe27520 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -829,6 +829,7 @@ html.ie8 #controls .button.new {
margin-bottom: 2px;
}
-.canDrop {
+.canDrop,
+#filestable tbody tr.canDrop {
background-color: rgba(255, 255, 140, 1);
}
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) {