use data-file to retrieve filename

forward port of https://github.com/owncloud/core/pull/5647#discussion-diff-7341163
trust me, I know what I'm doing
remotes/origin/stable6
Jörn Friedrich Dreyer 13 years ago
parent ea4dfa7e38
commit a4be1ebeb8
  1. 2
      apps/files/js/files.js

@ -487,7 +487,7 @@ var folderDropOptions={
return false;
}
var target = $.trim($(this).find('.nametext').text());
var target = $(this).parent('tr').data('file');
var files = ui.helper.find('tr');
$(files).each(function(i,row) {

Loading…
Cancel
Save