Merge pull request #306 from owncloud/crumb_drop_fix
extract the right file name for drag&drop.
This commit is contained in:
commit
7b51a4e5f9
1 changed files with 1 additions and 1 deletions
|
@ -722,7 +722,7 @@ var folderDropOptions={
|
|||
}
|
||||
var crumbDropOptions={
|
||||
drop: function( event, ui ) {
|
||||
var file=ui.draggable.text().trim();
|
||||
var file=ui.draggable.parent().data('file');
|
||||
var target=$(this).data('dir');
|
||||
var dir=$('#dir').val();
|
||||
while(dir.substr(0,1)=='/'){//remove extra leading /'s
|
||||
|
|
Loading…
Reference in a new issue