Add drop actions as placeholders so you can drop into an empty folder.

This commit is contained in:
Nathan Gray
2014-11-18 00:25:37 +00:00
parent ecdbff6edd
commit 7fd377df56
2 changed files with 3 additions and 2 deletions

View File

@ -609,7 +609,7 @@ app.classes.filemanager = AppJS.extend(
// check if target is a file --> use it's directory instead
var data = egw.dataGetUIDdata(_target.id);
if (data.data.mime != 'httpd/unix-directory')
if (!data || data.data.mime != 'httpd/unix-directory')
{
dst = this.dirname(dst);
}