summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/breadcrumb.js3
-rw-r--r--apps/files/js/filelist.js2
2 files changed, 3 insertions, 2 deletions
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) {