]> source.dussan.org Git - nextcloud-server.git/commitdiff
allow dnd into folders starting with whitespace
authorJörn Friedrich Dreyer <jfd@butonic.de>
Thu, 31 Oct 2013 10:15:12 +0000 (11:15 +0100)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Thu, 31 Oct 2013 10:15:12 +0000 (11:15 +0100)
apps/files/js/files.js

index 7581ff3ec56d1651a835e1504578f36fac4bd055..82621af3eacba3a6a12332a02ce7f6d60ceb546e 100644 (file)
@@ -666,7 +666,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){