Make entire file tr droppable,

so that .canDrop will highlight the entire row when drag hover
This commit is contained in:
Pellaeon Lin 2016-03-12 11:29:59 +08:00
parent d3ff3c589b
commit 72ac5dd8a1
2 changed files with 3 additions and 2 deletions

View file

@ -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);
}

View file

@ -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) {