diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/css/files.css | 5 | ||||
-rw-r--r-- | apps/files/js/breadcrumb.js | 3 | ||||
-rw-r--r-- | apps/files/js/filelist.js | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css index 373739071e9..94eafe27520 100644 --- a/apps/files/css/files.css +++ b/apps/files/css/files.css @@ -828,3 +828,8 @@ html.ie8 #controls .button.new { .app-files .actions .button.new .icon { margin-bottom: 2px; } + +.canDrop, +#filestable tbody tr.canDrop { + background-color: rgba(255, 255, 140, 1); +} diff --git a/apps/files/js/breadcrumb.js b/apps/files/js/breadcrumb.js index 58ac9924ef7..98de7aa374c 100644 --- a/apps/files/js/breadcrumb.js +++ b/apps/files/js/breadcrumb.js @@ -133,7 +133,8 @@ drop: this.onDrop, over: this.onOver, out: this.onOut, - tolerance: 'pointer' + tolerance: 'pointer', + hoverClass: 'canDrop' }); } diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 38b9007d0bc..f249f2d35c9 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1320,7 +1320,7 @@ } // allow dropping on folders if (this._folderDropOptions && mime === 'httpd/unix-directory') { - filenameTd.droppable(this._folderDropOptions); + tr.droppable(this._folderDropOptions); } if (options.hidden) { |