mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix missing destination when pasting into empty dir
This commit is contained in:
parent
944d00c1cb
commit
b4e08e3d51
@ -789,7 +789,7 @@ app.classes.filemanager = AppJS.extend(
|
|||||||
|
|
||||||
// Target will be missing ID if directory is empty
|
// Target will be missing ID if directory is empty
|
||||||
// so start with the current directory
|
// so start with the current directory
|
||||||
var dst = this.get_path(_action.parent.data.nextmatch.getInstanceManager().uniqueId || false);
|
var nm_dst = this.get_path(_action.parent.data.nextmatch.getInstanceManager().uniqueId || false);
|
||||||
|
|
||||||
// File(s) were dropped on a row, they want them inside
|
// File(s) were dropped on a row, they want them inside
|
||||||
if(_target)
|
if(_target)
|
||||||
@ -809,7 +809,7 @@ app.classes.filemanager = AppJS.extend(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this._do_action(_action.id.replace("file_drop_",''), src, false, dst);
|
this._do_action(_action.id.replace("file_drop_",''), src, false, dst || nm_dst);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user